Need to know if a file as only ASCII charaters

Jorge starglider101 at gmail.com
Tue Jun 16 10:48:46 CEST 2009


Hi there,
I'm making  a application that reads 3 party generated ASCII files, but some
times
the files are corrupted totally or partiality and I need to know if it's a
ASCII file with *nix line terminators.
In linux I can run the file command but the applications should run in
windows.

Any help will be great.

Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090616/520924c1/attachment.html>


More information about the Python-list mailing list