Search code examples
pythonexestartup

Exe program which starts when device starts


I have a python script which I convert to an exe file. Does anybody knows some code for starting the program right after the device is startup?


Solution

  • You can convert your python program to exe using py2exe
    If you are using windows, you can launch the exe during startup by:

    1. Pressing Windows + R or RUN in the Start menu
    2. Type shell:startup this opens a windows explorer
    3. Paste the shortcut in the explorer

    Source