Problem trying to run a .py python script

Discussion, questions and support.
Post Reply
mr9bitbyte
Posts: 21
Joined: Apr 25th, ’23, 17:20

Post by mr9bitbyte » May 14th, ’23, 05:23

I am trying to run a python script with fastkeys, if I double clic a .py file it opens the command prompt and runs the script, If I do it with fastkeys, command prompt briefly opens, but the .py files doesnt seem like it did anything.
I saw another post about using:
run %ComSpec% /k "C:\MyFile.exe", but I want to run a .py
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » May 14th, ’23, 20:36

Try this

script:=“C:\FullPath\test.py”
Run, %ComSpec% /k python "%script%"
Post Reply