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


Groups > comp.lang.python > #19851

Re: Help writelines

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
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; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'bieber': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'message-id:@4ax.com': 0.16; 'received:wlfraed': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'wrote:': 0.16; 'subject:Help': 0.17; '>>>': 0.18; 'url:home': 0.21; 'feb': 0.22; '+0100,': 0.23; 'literal': 0.23; 'received:166': 0.23; 'lee': 0.28; 'fri,': 0.30; 'that...': 0.30; 'to:addr:python-list': 0.33; 'header:X-Complaints-To:1': 0.34; 'charset:us-ascii': 0.36; 'received:org': 0.37; 'guys': 0.38; "i'd": 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'dennis': 0.73
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Help writelines
Date Fri, 03 Feb 2012 21:06:24 -0500
References <CAKhY55OeHanpWC=WfzMo1nzujsrVC2oAD89R6So3ZG3mobBphg@mail.gmail.com> <4F2C49FD.9000200@davea.name> <CAKhY55Mf3S0rFeAaoKoXSsnkNB3CDRyuaZhw_V269s+UFq1syQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host mobile-166-147-102-067.mycingular.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.5425.1328321210.27778.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328321210 news.xs4all.nl 6969 [2001:888:2000:d::a6]:54827
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19851

Show key headers only | View raw


On Fri, 3 Feb 2012 22:03:04 +0100, Anatoli Hristov <tolidtm@gmail.com>
wrote:

>Thanks guys that was fast:
>
	I'd just like to add, in emphasis, that...

>>> or fob.writelines('%s\N' % users)

... the literal for a new-line is "\n", NOT "\N"
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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


Thread

Re: Help writelines Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-02-03 21:06 -0500

csiph-web