SyntaxError: invalid syntax (Python 2.7.12)
ShaiMagal opened this issue · comments
Dominik Shaim Ulrich commented
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
Bram 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.