[Tutor] 'File' utility for python?

VanL vlindberg@verio.net
Fri, 18 Jan 2002 18:06:10 -0700


Hello,

Does anyone know of a python utility that can do the same thing as the 
unix utility 'file'?

I need to figure out if something is non-destructively editable (i.e., 
text) before I run a search-and replace on it.

Thnx,

Van