alexander-akhmetov / python-shortcuts

Create Siri Shortcuts with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

name: str = '', ^ SyntaxError: invalid syntax

jishangiras opened this issue · comments

File "/Library/Python/2.7/site-packages/shortcuts/shortcut.py", line 22 name: str = '', ^ SyntaxError: invalid syntax

Keep getting this.

Tried to run the example python as a script to produce the .shortcut

Hi! The library supports python version 3.6 and higher, and seems like you use 2.7.

I will add information about this to the readme file.

Ah, this for 2.7
Thanks !