Script that converts between indentation and curly braces in Python code
Neil Hodgson
nhodgson at iinet.net.au
Wed Jul 31 09:20:01 EDT 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.
pindent.py in the Tools/Scripts directory of Python installations
does something similar by adding or removing comments that look like
# end if
Neil
More information about the Python-list
mailing list