I am learning python and when I was running the below code
"Syntax error while detecting tuple"
Aptana is set to use syntax checking for Python 2.x, where
= sign inside the tuple. But the code is written for Python 3.x, where
You need to set Aptana to use the Python 3 grammar. I found this page that shows you how to set up Aptana to use a Python 3.x interpreter (which you probably already have, since the script runs) and syntax.