Oct-04-2018, 08:41 AM
there are two ways to fix indentation problems automatically:
1. Install visual studio code. it's a very light and breezy code editor. if the python extension isn't installed go to extensions and (Ctrl + Shift + x) and search for it. open the script right click on the text and press format document( it'll require additional module; all you have to do is hit install if it asks )
2. install JetBrains Pycharm (Community edition is free) and open the file in the ide. it'll point out every indentation and whitespace mistake after a few seconds.
1. Install visual studio code. it's a very light and breezy code editor. if the python extension isn't installed go to extensions and (Ctrl + Shift + x) and search for it. open the script right click on the text and press format document( it'll require additional module; all you have to do is hit install if it asks )
2. install JetBrains Pycharm (Community edition is free) and open the file in the ide. it'll point out every indentation and whitespace mistake after a few seconds.