Python Forum

Full Version: Python Help, New User, Computer Automation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey so I am new to python and I am trying to code a specific thing. I am trying to in python run an infinite for loop and within that loop call cmd to open and run a program then to run a timer for x time and then once it is over close it and open a new one, then repeat. I really don't care if the program opens in cmd or python I am just trying to run a program on my computer for a certain amount of time then close it and run another. I am trying to automate some programs I have on my computer. I know how to do a for loop and a timer, I think I have not gotten them to work with anything, only by themselves.
look at sched
(Jun-24-2021, 10:13 AM)Larz60+ Wrote: [ -> ]look at sched

thanks