Replies: 1 comment
-
|
Hi, i do that with .bat. in .bat i put "python D:\path\to\python\script.py" and it works |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I struggle with running a Python 3 script with a button press action. The shebang in the Python script is
#!/opt/anaconda3/bin/python3. The script executes with success in my macOS terminal withpython3 path/to/myScript.py.I unsuccessfully tried the following variants for the path input but I still didn't managed to make it run...
sh -c python3 path/to/myScript.py"python3" "path/to/myScript.py""python3 path/to/myScript.py"I also tried
chmod +x myScript.pyCompanion v3.4.0+7304-stable-01dfOf17
macOS 14.6.1
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions