I’ve converted a code written in Python 2.6 into Python 3 using 2to3.
All the syntax changes have been made accordingly,
but I still get an error like following:
print('Type: ' + t)
^
SyntaxError: invalid syntax
this happens not only with print() but other totally valid codes like
self.type(arg)
What could be wrong?
I’m using python 3.2 by the way.
Please hlep me out..
The syntax error is likely on the row above. Looks like a missing parenthesis or something.