bramton / degiro

Very basic unofficial Python API for DeGiro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SyntaxError: invalid syntax (Python 2.7.12)

ShaiMagal opened this issue · comments

Not working:

root@home:/tmp# python a.py
Traceback (most recent call last):
File "a.py", line 1, in
from degiro import degiro
File "/tmp/degiro.py", line 12
def login(self, conf_path=None, with2fa:bool=False):
^
SyntaxError: invalid syntax

commented

Python 2.7 is not supported for this API. Try to use a more recent version of Python, such as 3.6 or 3.7.