[Tutor] How to make a python script run on startup

eryksun eryksun at gmail.com
Tue Apr 9 13:21:32 CEST 2013


On Tue, Apr 9, 2013 at 5:54 AM, Alexander Mark <rhettnaxel at gmail.com> wrote:
> There is a startup folder, usually on the start menu, you can add the script
> to.

current user:
"%USERPROFILE%\Start Menu\Programs\Startup"

all users:
"%ALLUSERSPROFILE%\Start Menu\Programs\Startup"

Updating the latter will probably require elevation, which you do via
ShellExecute with the "runas" verb, using either pywin32 or ctypes. If
you don't want a console use the .pyw extension.


More information about the Tutor mailing list