Menu

#60 Python-3.x print() SyntaxErrors

open
nobody
None
5
2012-01-25
2012-01-25
tstevense
No

This file is using python 2.7 syntax for print instead of python 3000 print()

Discussion

  • tstevense

    tstevense - 2012-01-25
    • summary: Python-3.x syntaxerror init.py --> Python-3.x print() SyntaxErrors
     
  • tstevense

    tstevense - 2012-01-25

    It appears that all the demos are littered with this syntax error. The SVN installed fine with python setup.py install up until it ran into __init__.py where the first print SyntaxError was hit. I modified it to the correct syntax and ran python setup.py install again.

    However, when I went to test the demo files I found the same error being thrown. It's almost always the wrong print syntax.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.