script filename and autorun
Simon Dahlbacka
sdahlbacSPAMSUX at abo.fi
Tue Mar 18 08:42:30 EST 2003
Hi,
I was thinking that I wanted to "autostart" my python program at bootup, I'm
using windows and planned to use the registry through the win32api
functions.
1) how do I get the filename of the current script running? (I want to
detect location at runtime)
2) is it enough with just a key "python
c:\whateverthepathistomyprogram\prog.py" in ...\Run or do I also need full
path to python?
/Simon
More information about the Python-list
mailing list