Determine file type (binary or text)

Grant Edwards grante at
Wed Aug 13 21:33:55 CEST 2003

In article <3F3A8275.8B6EE8C4 at>, Peter Hansen wrote:

> "Contains only printable characters" is probably a more useful definition
> of text in many cases.

The definition of "printable" is dependent on the character
set, that will have to be specified.

Grant Edwards                   grante             Yow!  World War Three can
                                  at               be averted by adherence
                                 to a strictly enforced
                                                   dress code!

More information about the Python-list mailing list