Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51647

Script that converts between indentation and curly braces in Python code

Subject Script that converts between indentation and curly braces in Python code
From Musical Notation <musicdenotation@gmail.com>
Date 2013-07-31 10:45 +0700
Newsgroups comp.lang.python
Message-ID <mailman.16.1375272465.1251.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


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