Possible Duplicate:
HOWTO: Fix Python Indentation
I have Python library where only 2 spaces indentation was used. I need automated way to convert all files to 4 spaces indentation. Is there any tool/script/editor for that?
Plz don't suggest Emacs.
Try the reindent script by Tim Peters, it was designed specifically for converting Python files to 4-space indentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With