nihad.cofornihad.hashnode.net·Nov 28, 2022Automate Python script using Task Scheduler on WindowsSTEP 1: Save python script file as .pyw extension #script.pyw your awesome code goes here... STEP 2: Make python script into a batch file 2.1. Open notepad. Add the following and save it as .bat extension. start "" "path_to_pythonw.exe" "path_to_py...1 like·147 readsPythonAdd a thoughtful commentNo comments yetBe the first to start the conversation.