I want to make a Python 3 tkinter program start when my PC starts. For example, My tkinter window that i programmed must start after I log in. Is there any way I can do this?
Asked
Active
Viewed 348 times
0
-
Possible duplicate: https://stackoverflow.com/questions/4438020/how-to-start-a-python-file-while-windows-starts – Kanishka Ganguly May 04 '20 at 05:01
1 Answers
1
1.Create a batch file to start your application.
Open Notepad and create batch file based on the following template.
"Path where your Python exe is stored\python.exe" "Path where your Python script is stored\script name.py"
pause
Save the file as a bat file (Ex: script.bat) and create a shortcut.
2. Put the batch file in startup folder
- Press the Start button and type Run and press enter
- Type
shell:startup
in run window and press enter - Past the bath file shortcut in the window opened.

Anastes
- 26
- 5