[Zope] Basic Python Question

Passin, Tom tpassin at mitretek.org
Fri May 21 12:32:36 EDT 2004


> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On 

> But os.linesep is better than '\n' as it *is* '\n' under unix, '\r\n' 
> under windows an the good sequence ('\n\r\r'? I don't 
> remember) under macos.

'\n' has always worked fine for me on Windows.  It is interpreted as a
new line, and the right thing is inserted into the output.

Cheers,

Tom P



More information about the Zope mailing list