File Reading related query

Fredrik Lundh fredrik at pythonware.com
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?

</F>




More information about the Python-list mailing list