![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: why writing list to file puts each item from list on seperate line?
From: limodou <limodou@gmail.com>
Date: Sat Dec 31 2005 - 05:50:32 CET
30 Dec 2005 20:44:29 -0800, homepricemaps@gmail.com <homepricemaps@gmail.com>:
>>> print ' '.join(['food', 'price', 'store'])
os.linesep represents newline.
-- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEditReceived on Tue Jan 3 03:28:29 2006 |