[Tutor] Tutor Digest, Vol 37, Issue 62
Jaggo
jaggojaggo at yahoo.com
Sun Mar 25 00:41:22 CET 2007
Message: 2
Date: Sat, 24 Mar 2007 19:25:10 -0400
From: Jay Mutter III
Subject: [Tutor] parsing text
[...]
1.) when i do readlines and create a list and then print the list it
adds a blank line between every line of text
[...]
ideas?
Thanks again
jay
Well,
regarding your first question:
"print string" automatically breaks a line at the end of string. Use "print string," instead [note that trailin' , .]
[I'm not sure about your n. 2, that's why no answer is included.
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070324/2d731ac8/attachment.htm
More information about the Tutor
mailing list