[Tutor] unicode to plain text conversion

wesley chun wescpy at gmail.com
Tue Apr 7 01:39:54 CEST 2009


> I am a total newbie. I have a very large file > 4GB that I need to
> convert from Unicode to plain text. I used to just use dos when the file
> was < 4GB but it no longer seems to work. Can anyone point me to some
> python code that might perform this function?


can you elaborate on your conversion technique when you "used to just
use dos" when the file was at an appropriate size? also let us know
what encodings are being used during your conversion too. code
snippets would be great, as well as current errors/exceptions that
you're now getting because of the file sizes.

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
python training and technical consulting
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com


More information about the Tutor mailing list