launching a file with its associated application on windows

Tim Peters tim.one at home.com
Wed Jun 20 18:35:46 EDT 2001


[Christian Reyes]
> Is there a method that takes a file as an argument and then opens
> that file with the its associated viewer?

This must be a Windows question, right?  If so, in Python 2.0 or later, the
Windows-specific os.startfile() does exactly that.





More information about the Python-list mailing list