thonny windows fix python indent code example
Example: python spacing problems
pip install autopep8
autopep8 script.py # print only
autopep8 -i script.py # write file
pip install autopep8
autopep8 script.py # print only
autopep8 -i script.py # write file