I am used to For...Next. In the case of Python there is no 'Next' so you have to space it correctly.. below is a snippet..
The next 'if' statement need to line up and be spaced, not tabbed. It was frustrating to start with.
After trying to teach many a person VBS in the past, I feel like you either have the coding gene or you don't.. and if you don't you will never be able to write things from nothing.. just edit existing scripts.
RE: The Anti-@stimialiti Pro-Active and Reactive Counter Tool