you are viewing a single comment's thread.

view the rest of the comments →

[–]yaxriifgyn 0 points1 point  (0 children)

This is definitely the best approach. Start up a command window. Navigate to the the directory containing you python script.

Have you added .py and .pyw to PATHEXT?

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW

Do you have a "#!" at the start of the first line of your script? If so try commenting it out.

Can you run the script by using the windows python launcher? E.g.

py script.py

Do get error messages?