Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

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

Closed
jishangiras opened this issue Oct 3, 2018 · 2 comments
Closed

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

jishangiras opened this issue Oct 3, 2018 · 2 comments

Comments

@jishangiras
Copy link

jishangiras commented Oct 3, 2018

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

@alexander-akhmetov
Copy link
Owner

alexander-akhmetov commented Oct 3, 2018

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.

@jishangiras
Copy link
Author

Ah, this for 2.7
Thanks !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants