Si no me equivoco en python 3 debes poner el print con paréntesis:

print(s)

Un saludo.

--- On Sat, 2/5/11, Rafael Antonio Laverde <[email protected]> wrote:

From: Rafael Antonio Laverde <[email protected]>
Subject: [Python-es] Problema con pydev y python3.1
To: "La lista de python en castellano" <[email protected]>
Date: Saturday, February 5, 2011, 1:09 AM

Buenas noches..

Tengo un problema al intentar agregar python 3.1 a eclipse con pydev..
debido si no me equivoco al cambio de sintaxis

el error que me aparece es:

Check your error log for more details.

More info can also be found at the bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=1523582&group_id=85796&atid=577329
java.lang.RuntimeException: No output was in the standard output when
trying to create the interpreter info.
The error output contains:>>  File
"/usr/lib/eclipse/plugins/org.python.pydev_1.2.5/PySrc/interpreterInfo.py",
line 52
    print s
          ^
SyntaxError: invalid syntax
<<

con 2.6 funciona bien, mi so es debian, la versión de eclipse es
3.5.2-8 y la de pydev es 1.2.5-4

...Gracias
--
さようなら
_______________________________________________
Python-es mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/



      
_______________________________________________
Python-es mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/

Responder a