Script that converts between indentation and curly braces in Python code

Serhiy Storchaka storchaka at gmail.com
Wed Jul 31 09:31:45 EDT 2013


31.07.13 06:45, Musical Notation написав(ла):
> Is there any script that converts indentation in Python code to curly braces? The indentation is sometime lost when I copy my code to an application or a website.

Look at the pindent.py script.




More information about the Python-list mailing list