Idiomatic portable way to strip line endings?
Erik Max Francis
max at alcyone.com
Sun Dec 16 14:14:57 EST 2001
Skip Montanaro wrote:
> Even if you get the file from an operating system that uses another
> line
> ending convention?
Then you should probably handle it on a case-by-case basis. After all,
you might be getting an arbitrary binary file, or a "text" file that has
an end-of-line convention that you've never seen before.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ Laws are silent in time of war.
\__/ Cicero
Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
An Esperanto reference for English speakers.
More information about the Python-list
mailing list