Script that converts between indentation and curly braces in Python code

Neil Hodgson nhodgson at
Wed Jul 31 15:20:01 CEST 2013

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. in the Tools/Scripts directory of Python installations 
does something similar by adding or removing comments that look like

# end if


More information about the Python-list mailing list