In my python program, I would like it to run a piece of code at a pre-defined time every weekday, let say 2pm Mon - Fri.
How may I do it please?
In my python program, I would like it to run a piece of code at a pre-defined time every weekday, let say 2pm Mon - Fri.
How may I do it please?
You can use "schedule" library
to install, on terminal enter:
here is an example of the code you want:
or you can read the documents to see the other functions Click Here
good luck!