Reading a DOS text file and writing out Mac
Is there a way to set the EOL character that Python recognizes? For
example, I'd like to set it to cr/lf (okay, that's eol characters) when
reading a file (DOS text) and set it to just cr when writing out (Mac).
Is there a way to do this?
|All times are GMT. The time now is 09:32 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.