#type in command window: autopep8 -i my_file.py #replace my_file.py with your name of your file name or file path and done