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
Problem trying to run a .py python script
-
- Posts: 21
- Joined: Apr 25th, ’23, 17:20
Try this
script:=“C:\FullPath\test.py”
Run, %ComSpec% /k python "%script%"
script:=“C:\FullPath\test.py”
Run, %ComSpec% /k python "%script%"