I am having some issues using the cloudvisreq python script for the Google Vision Python API. I get this error when I run the code:
File "newvisreq.py", line 46
api_key, *image_filenames = argv[1:]
^
SyntaxError: invalid syntax
I am running the script through Python2.7, as it told me to in the tutorial I'm using to set this up. I found when I ran it through Python3 it was slightly more successful, as it managed to write as it was supposed to, but it received no data. The code can be found here, and the line the error complains about is about half way through the file (line 46).
Thanks in advance,
Connor
python-3.