File Reading related query

Fredrik Lundh fredrik at
Wed Sep 17 12:18:41 CEST 2008

Usman Ajmal wrote:

> Is there any function for reading a file while ignoring *\n* occuring in 
> the file?

can you be a bit more precise?  are we talking about text files or 
binary files?  how do you want to treat any newlines that actually 
appear in the file?


More information about the Python-list mailing list