Script that converts between indentation and curly braces in Python code

IshIsh ishish at domhain.de
Wed Jul 31 15:13:53 CEST 2013


from __future__ import braces is just an easter egg... ...and shouldn't 
it better state from __past__ import braces ;-)

Anyway, as far as I know the IPython interpreter can recognize lines 
ending in ‘:’ and indent the next line, while also un-indenting 
automatically after ‘raise’ or ‘return’.

=> sas



More information about the Python-list mailing list