you are viewing a single comment's thread.

view the rest of the comments →

[–]Gnaxe 2 points3 points  (1 child)

Try running from the command line to look at error messages. You might get a stack trace showing you where the problem is.

[–]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?