I am looking to create a desktop shortcut in mac osx using pyshortcuts (kivy and python) and have used the pyshortcuts documentation but still can't seem to get it to work. I have successfuly installed it using pip3 and inserted the below code. This does create a desktop shortcut but when I double click on the shortcut it will not open. I believe my 'script' input is incorrect but I have no idea how to fix it. Thanks in advance!
from pyshortcuts import make_shortcut
make_shortcut(script='/Users/fluffy/Documents/Code_Projects/Python/Kivy/Dani_Kivy_App/daily.py', name='Daily',terminal=False,desktop=True)
python
. Or maybe you should - like in Linux - addshebang
in first line of python script#!/usr/bin/env python
and set it executablechmod +x script.py
and then system will run it as normal program. – furas