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

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <musicdenotation@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; 'subject:code': 0.07; 'converts': 0.09; 'python': 0.11; 'braces?': 0.16; 'curly': 0.16; 'subject:between': 0.16; 'script': 0.25; 'code': 0.31; 'indentation': 0.31; 'subject:that': 0.31; 'received:google.com': 0.35; 'there': 0.35; 'charset:us-ascii': 0.36; 'application': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'lost': 0.61; 'header:Message-Id:1': 0.63
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:content-type:x-mailer:message-id:date:to :content-transfer-encoding:mime-version; bh=fhlk4h5RwKPAiMj/nbwhdhOAo+nk4vlBb4Bj1rvtqHc=; b=Ad4hOQ5nlxlsDMqPMdSN1fCgrnIJ3bnyIRsKtUvw7NT3iSyDbzgTolE/OFwjZLqkV/ GYbdnY8zvbvinwpR3G+0vpye1kj/qwrB/boY4RhYM5DIjISNBRR7eFszriIb3jMiI+mV rugwazEsP7jOzdtY9cfJumX2jzkqeZWW581s+kkS3CXLOvJqTpaKCaKE9bOPdTUJFinN UYRSog+zhk2G6uTOrbJNlLmePopVosaUgDmpgLuWYgW6s5k62VuSIzEnTI388DT/v9Ev 0KaVEz8BX1zPE7vTfDfGLIVFzh0dqBGvCiV9G7xWeXc/WrhX9bDw2p2VqFwgs2rqt1k7 +nvQ==
X-Received by 10.68.228.102 with SMTP id sh6mr77344353pbc.138.1375242341535; Tue, 30 Jul 2013 20:45:41 -0700 (PDT)
Subject Script that converts between indentation and curly braces in Python code
From Musical Notation <musicdenotation@gmail.com>
Content-Type text/plain; charset=us-ascii
X-Mailer iPad Mail (10B329)
Date Wed, 31 Jul 2013 10:45:36 +0700
To Python Mailing List <python-list@python.org>
Content-Transfer-Encoding quoted-printable
Mime-Version 1.0 (1.0)
X-Mailman-Approved-At Wed, 31 Jul 2013 14:07:43 +0200
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16.1375272465.1251.python-list@python.org> (permalink)
Lines 3
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375272465 news.xs4all.nl 15892 [2001:888:2000:d::a6]:49406
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51647

Show key headers only | 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