Python 如何在windows 10 PC启动时自动启动程序
我想让Python3 tkinter程序在我的电脑启动时启动。例如,我编程的tkinter窗口必须在登录后启动。有什么方法可以做到这一点吗?1.创建批处理文件以启动应用程序。 打开记事本并基于以下模板创建批处理文件Python 如何在windows 10 PC启动时自动启动程序,python,python-3.x,windows,tkinter,automation,Python,Python 3.x,Windows,Tkinter,Automation,我想让Python3 tkinter程序在我的电脑启动时启动。例如,我编程的tkinter窗口必须在登录后启动。有什么方法可以做到这一点吗?1.创建批处理文件以启动应用程序。 打开记事本并基于以下模板创建批处理文件 "Path where your Python exe is stored\python.exe" "Path where your Python script is stored\script name.py" pause 将文件另存为bat文件(例如:script.bat)并创
"Path where your Python exe is stored\python.exe" "Path where your Python script is stored\script name.py"
pause
将文件另存为bat文件(例如:script.bat)并创建快捷方式
2。将批处理文件放入启动文件夹
shell:startup
,然后按enter键@谢谢你的建议。我添加了示例可能的副本: