Python Forum
Python Help, New User, Computer Automation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Help, New User, Computer Automation
#1
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.
Reply
#2
look at sched
Reply
#3
Smile 
(Jun-24-2021, 10:13 AM)Larz60+ Wrote: look at sched

thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  python not detected on computer adriennn 3 825 Nov-18-2023, 02:46 PM
Last Post: snippsat
  Automation of GUI by python function dghosal 4 774 Aug-18-2023, 10:23 AM
Last Post: dghosal
  PsInfo from remote computer in python susja 3 2,223 Oct-10-2022, 08:39 AM
Last Post: DeaD_EyE
  home automation using python barryjo 1 1,162 Jul-24-2022, 09:09 PM
Last Post: Larz60+
  python automation newcode 3 70,801 Feb-05-2021, 04:59 PM
Last Post: nilamo
  Automation using python Santhosh_Sangar 0 1,577 Mar-11-2020, 01:04 AM
Last Post: Santhosh_Sangar
  loop in pyautogui (python automation GUI application) pyprogrammer 0 4,719 Feb-12-2020, 02:52 PM
Last Post: pyprogrammer
  Python Based Data QA Automation tool suggestion Sonia567 1 1,969 Nov-19-2019, 04:46 PM
Last Post: Larz60+
  Create hybrid automation framework using python. janeho 2 2,378 Mar-20-2019, 05:27 PM
Last Post: DeaD_EyE
  Install Python 2 and 3 on same Computer Able98 6 71,294 Dec-13-2017, 06:32 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020