Reading newlines from a text file
Thomas Philips
tkpmep at hotmail.com
Sat Feb 28 18:32:09 EST 2004
Peter,
|
Very neat. That is exactly what I want it to do. On looking through
the help for open() (or its replacement, file()), I did not see a
reference to a "string_escape" option. Where is this documented (in
language comprehensible to a newbie)?
Also, I notice that you have two backslashes before each n in
"\\ntoerichte\\nlogik\\nboeser\\nkobold\n". Why is there a need for 2
backslashes -would not one have done the trick?
Thomas Philips
More information about the Python-list
mailing list