Need to know if a file as only ASCII charaters

Jorge starglider101 at
Tue Jun 16 04:48:46 EDT 2009

Hi there,
I'm making  a application that reads 3 party generated ASCII files, but some
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

Any help will be great.

Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list