[Tutor] Start

Bob Gailer bgailer at alum.rpi.edu
Sun Mar 7 13:20:03 EST 2004


At 06:47 AM 3/5/2004, glaine at free.fr wrote:
>Hello
>I'm new in python. I try to make a script
>which save the win registry each morning
>after the win98's running. I have a lot of
>problems to concretize my idea about the moment
>when my script start. How to do to run automatically
>my script each morning after the win98's running

Right-click on the Start Button and pick Explore.
This should put you in the Start Menu Folder.
Under this you should see the Programs Folder.
Expand this and you should see the Startup Folder.
Put your Python program (or a shortcut to it) in the Startup Folder.

>I will accept any suggestions or ideas. I found
>some elements with win32events and handle, but I don't
>understand very well what handle means in python.
>Is there anybody to explain
>me ? Thank all for your help.
>Save Registry.py
>import _ winreg
>t=file('c:\\windows\\bureau\\toto.txt','w')
>p=_winreg.SaveKey(Keys x, Keys y,'t')
>
>
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor

Bob Gailer
bgailer at alum.rpi.edu
303 442 2625 home
720 938 2625 cell 




More information about the Tutor mailing list