Python Forum
python script to Batch File - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: python script to Batch File (/thread-29547.html)



python script to Batch File - biprabu - Sep-09-2020

Hi All,

How to create batch file for python script exectuion at specified time

Example

i have ptyhon file -gui.py
now i want gui.py to run at 5.30pm daily


RE: python script to Batch File - jefsummers - Sep-09-2020

Depends on your OS and the scheduling software you use. Python itself does not do that, rather your scheduler will start Python with that script at the time you set. In Windows, suggest Task Scheduler. In Linux, suggest Cron