Method 1 : Bat file.
If you have python in your PATH environment variable:
start python D:\py\s1.py start python D:\py\s2.py
Another literal way
start C:\python27\python.exe D:\py\s1.py start C:\python27\python.exe D:\py\s2.py
Please note that this will not wait for a return from execution. Note: Remember to add quotes around the path lines if they contain spaces or special characters.
See start /? For more details. .
Method 2 : two different scheduled tasks
Create two separate scheduled tasks that run at the same time each python caller to run one of the scripts.
source share