os.startfile() and xml file

xavier spam at wanadoo.fr
Sun Apr 11 09:05:05 EDT 2004


Hi,

How to make os.startfile() working with xml files ? for example :

here is what open the picture (with Mozilla)
os.startfile("c:\\picture.jpg")

but the xml file can't be opened the same way :

os.startfile("c:\\file.xml")

the file is not found, but it is in c:\
Mozilla is the exe that open xml file, note that it works when i clic on it,
so the pb is not Mozilla...

 Thanks.
(sorry for my bad english)





More information about the Python-list mailing list