'"""' and linefeed characters

Erik Max Francis max at alcyone.com
Sat Jul 15 14:09:49 EDT 2000


Matthew Cline wrote:
> 
> I'm assuming that returns in a '"""' quoted string are given
> the linefeed character(s) of the operating system Python is
> run on.  Is this right?
> 
> Thanks in advance.

They're given a newline ('\n'), which is independent of the end-of-line
sequence of your operating system.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ The chicken was the egg's idea of getting more eggs.
\__/ Samuel Butler
    Fat Boy and Little Man / http://www.fatboyandlittleman.com/
 Watch Fat Boy and Little Man go about their antics.



More information about the Python-list mailing list