How do I run a python script on Windows?

I've run several commands, but I'm wondering which would be the most appropriate? Maybe use time.strftime?

+1


a source to share


2 answers


If you want to run recurring scheduled tasks then Task Scheduler (Vista) or Scheduled Tasks (XP and I think earlier) are the appropriate method on Windows.



+5


a source


I would use the Task Scheduler.



I also read about the "cron-like" python PyCron application - http://www.bigbluehost.com/article4.html . If you're in the end of Unix town, you may find it more familiar than the Windows Scheduler. Never used it myself, but it might be of interest.

0


a source







All Articles