line wrapping problem

John Zenger john_zenger at yahoo.com
Thu Feb 9 07:32:45 EST 2006


S Borg wrote:

>  print >> mytextfile, '\n'      #new line

Wouldn't this print two line breaks--the one you specify in the string, 
plus the one always added by print if there is no comma at the end of 
the statement?



More information about the Python-list mailing list