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


Groups > comp.lang.python > #38203

Re: Best Practice Question

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'syntax': 0.03; '(python': 0.05; 'puts': 0.07; 'subject:Question': 0.07; 'trailing': 0.07; 'python': 0.09; 'highlighting': 0.09; 'cc:addr :python-list': 0.10; '-tkc': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'interprets': 0.16; 'syntaxerror:': 0.16; 'string': 0.17; 'wrote:': 0.17; 'feb': 0.19; '(i.e.,': 0.23; 'task': 0.23; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; '+0100': 0.27; "i'm": 0.29; 'knows': 0.30; 'anyone': 0.33; 'charset:us-ascii': 0.36; 'correctly': 0.37; 'subject:: ': 0.38; 'easier': 0.38; 'sure': 0.38; 'shows': 0.38; 'notice': 0.39; 'from:no real name:2**0': 0.60; 'remove': 0.61; 'ever': 0.63; '2013': 0.84; 'received:50.22': 0.84; 'received:108': 0.91; 'subject:Best': 0.91
Date Tue, 5 Feb 2013 09:17:54 -0600
From python.list@tim.thechases.com
To Jean-Michel Pichavant <jeanmichel@sequans.com>
Subject Re: Best Practice Question
In-Reply-To <1931346778.15606854.1360074752203.JavaMail.root@sequans.com>
References <5110F277.9020205@davea.name> <1931346778.15606854.1360074752203.JavaMail.root@sequans.com>
X-Mailer Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
Cc python-list@python.org
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.1370.1360081284.2939.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360081284 news.xs4all.nl 6938 [2001:888:2000:d::a6]:51825
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38203

Show key headers only | View raw


On Tue, 5 Feb 2013 15:32:32 +0100 (CET), Jean-Michel Pichavant wrote:
> By the way, did someone ever notice that r'\' fails ? I'm sure
> there's a reason for that... (python 2.5) Anyone knows ?
> 
> r'\'
> SyntaxError: EOL while scanning single-quoted string

I hit this all the time with Vim's path-completion (":help
i_CTRL-X_CTRL-F") on Win32 which puts a trailing "\" on
directory-names.  I just need to remember to remove it, a task made
easier because the syntax highlighting correctly shows how Python
interprets it (i.e., the string is still continued).

-tkc

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


Thread

Re: Best Practice Question python.list@tim.thechases.com - 2013-02-05 09:17 -0600
  Re: Best Practice Question Anthony Correia <akcorreia@gmail.com> - 2013-02-05 08:40 -0800
    Re: Best Practice Question Joel Goldstick <joel.goldstick@gmail.com> - 2013-02-05 11:53 -0500
    Re: Best Practice Question Dave Angel <d@davea.name> - 2013-02-05 13:10 -0500
  Re: Best Practice Question Anthony Correia <akcorreia@gmail.com> - 2013-02-05 08:40 -0800

csiph-web