12 Nov
2007
12 Nov
'07
4:01 p.m.
On Nov 12, 2007, at 10:54 AM, Bill Janssen wrote:
In os.path? os.path.encoding(location)?
I wasn't thinking it would be that general; determining the encoding for an arbitrary text file is a larger problem than it is for an XML file. An implementation based strictly on the rules from the XML specification should be in the xml package (somewhere). Determining that the file is an XML file is separate. I doubt this really makes sense in os.path. -Fred -- Fred Drake <fdrake at acm.org>