[Zope] Basic Python Question
maric at aristote.info
Thu May 20 11:57:36 EDT 2004
Marius Gedminas a écrit :
> On Wed, May 19, 2004 at 08:18:37AM -0500, Laura McCord wrote:
>>I am writing a .htaccess file like below:
> As Matt has already replied, you can add a "\n" at the end of each
> string. Or you can use the print statement, as it adds newlines
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.
More information about the Zope