Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19851
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Help writelines |
| Date | 2012-02-03 21:06 -0500 |
| References | <CAKhY55OeHanpWC=WfzMo1nzujsrVC2oAD89R6So3ZG3mobBphg@mail.gmail.com> <4F2C49FD.9000200@davea.name> <CAKhY55Mf3S0rFeAaoKoXSsnkNB3CDRyuaZhw_V269s+UFq1syQ@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5425.1328321210.27778.python-list@python.org> (permalink) |
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
Re: Help writelines Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-02-03 21:06 -0500
csiph-web