Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51653
| Date | 2013-07-31 23:20 +1000 |
|---|---|
| From | Neil Hodgson <nhodgson@iinet.net.au> |
| Newsgroups | comp.lang.python |
| Subject | Re: Script that converts between indentation and curly braces in Python code |
| References | <mailman.16.1375272465.1251.python-list@python.org> |
| Message-ID | <zL-dnfjUlN4vkmTMnZ2dnUVZ_uWdnZ2d@westnet.com.au> (permalink) |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Script that converts between indentation and curly braces in Python code Musical Notation <musicdenotation@gmail.com> - 2013-07-31 10:45 +0700 Re: Script that converts between indentation and curly braces in Python code Neil Hodgson <nhodgson@iinet.net.au> - 2013-07-31 23:20 +1000 Re: Script that converts between indentation and curly braces in Python code Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-01 06:23 +0000
csiph-web