windows-python-question

Shootclub Webmaster shoot at shootclub.com
Wed May 29 16:31:26 EDT 2002


import os
os.system("start c:\\path\\filename.ext")

If the appropriate association between the extension
and application is made then the 'start' command
should work for you.

Good Luck,
Shootclub Webmaster
shoot at shootclub.com
http://shootclub.com


Uwe Schmitt <uwe at rocksport.de> wrote in message news:<ad2oo9$d55fq$1 at hades.rz.uni-sb.de>...
> Hi,
> 
> I'd like to write a python-program which is startet under Win when
> a file with an apropriate extension ('.rnt' for example) is
> double-klicked. How does my python-program know which file was
> clicked so that my program can load it ???
> 
> Greetings, Uwe.



More information about the Python-list mailing list