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


Groups > comp.lang.python > #51655

Re: Script that converts between indentation and curly braces in Python code

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.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.036
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.06; 'subject:code': 0.07; '__future__': 0.16; 'braces': 0.16; 'subject:between': 0.16; 'wrote:': 0.18; 'typing': 0.19; 'import': 0.22; '31,': 0.24; '(or': 0.24; 'source': 0.25; 'header:In-Reply- To:1': 0.27; 'to:2**1': 0.27; 'that.': 0.31; 'subject:that': 0.31; 'file': 0.32; 'received:google.com': 0.35; 'charset:us-ascii': 0.36; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'first': 0.61; 'header:Message-Id:1': 0.63; 'jul': 0.74; '2013,': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; bh=XucMZoRtmd/7YLrd6+Vnui6ehA2pXzkimkbAl2MXTpQ=; b=IseQarUwzu532PS++Z9s4L9BMlKn3TGZIZsm/slS2hXvsqETJQjtDJHfIjVVCAmgqJ vZzdkhXQNHB3H7Pfd6W/NxpEPGcfEJzegGZWYL/6F3hhU/1FUjAa8toKqHQriFZChSre 3vukW+wnGC04BbqHXpj8/NTaZ6o4xbACWf/xKr6SNUHSQIxk0tLxNRKYHXtdLhlTk9X1 9gpQxiqViNuZfuzJ5gYQ69Pttjs/kdmTOIvB4Z1zZwmd9XTaa+sBed/vQ2L8f7fGExM+ nHlQETksUF2FsPXz9DjmuHcG+DCsOsFrCrELahmBePy1IXJ40qF3LzAVjvy4Zy5P6VYf 5MYQ==
X-Received by 10.66.150.138 with SMTP id ui10mr16281378pab.19.1375278043501; Wed, 31 Jul 2013 06:40:43 -0700 (PDT)
Subject Re: Script that converts between indentation and curly braces in Python code
References <09DBD544-FA04-48DC-8FEA-1E788FE1C6A6@gmail.com> <51F902A3.7030900@domhain.de>
From Musical Notation <musicdenotation@gmail.com>
Content-Type multipart/alternative; boundary=Apple-Mail-CBED9EC8-3797-4719-AD87-A7A861E85307
X-Mailer iPad Mail (10B329)
In-Reply-To <51F902A3.7030900@domhain.de>
Date Wed, 31 Jul 2013 20:40:38 +0700
To IshIsh <ishish@domhain.de>, Python Mailing List <python-list@python.org>
Content-Transfer-Encoding 7bit
Mime-Version 1.0 (1.0)
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.24.1375278046.1251.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375278046 news.xs4all.nl 15894 [2001:888:2000:d::a6]:37426
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51655

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Jul 31, 2013, at 19:27, IshIsh <ishish@domhain.de> wrote:

> Try from __future__ import braces as the first line of a source file (or typing it in an interactive     session), and watch the interpreter's response...
"SyntaxError: not a chance" I already know that.

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


Thread

Re: Script that converts between indentation and curly braces in Python code Musical Notation <musicdenotation@gmail.com> - 2013-07-31 20:40 +0700

csiph-web