How would I go about making a file open. Not the way you might think.

Hendrik van Rooyen mail at microcorp.co.za
Thu Aug 23 09:09:02 CEST 2007


Lamonte Harris  wrote:

>Basically you can open a file by double clicking, and by default it would open
w/ what every program you have it set >to.  Most text files would open in
notepad.  How can I make a txt open so that notepad opens w/ the content in it
by >using just python.

I asked this question just yesterday - and Tim Golden answered:

os.startfile()

- Hendrik




More information about the Python-list mailing list