Re: [Pydev-code] eclipse isnt accepting anything
Brought to you by:
fabioz
From: Fabio Z. <fa...@es...> - 2012-09-11 13:16:51
|
It seems this is related to using python 3 (where print is no longer a statement and must be called as print('something')). Note: this forum is not the appropriate location for these questions... please ask at stackoverflow (and you may add a 'pydev' tag if you think it's related to pydev). Cheers, Fabio On Tue, Sep 11, 2012 at 10:08 AM, julius <com...@ya...> wrote: > hi, > > i tried some testcode on windows 7 in eclipse with pydev and it worked, but somehow now i cant even use a simple print statement. > the error is: SyntaxError: invalid syntax > > > example: > > print "lala" > > > > console: > > File "C:\Users\julius\workspace\tcpdump\testing\test.py", line 1 > print "lala" > ^ > SyntaxError: invalid syntax > > > > > the code is in a python module, but eclipse refuses to even run one line. > however, import statements are recognized somehow. > what could this be? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code |