[Python-es] Problema con pydev y python3.1

Spectrum Cuarenta y ocho k s_48k en yahoo.com
Sab Feb 5 03:08:20 CET 2011


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 <leafar91 en gmail.com> wrote:

From: Rafael Antonio Laverde <leafar91 en gmail.com>
Subject: [Python-es] Problema con pydev y python3.1
To: "La lista de python en castellano" <python-es en python.org>
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
Python-es en python.org
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/



      
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://mail.python.org/pipermail/python-es/attachments/20110204/ec8c5877/attachment.html>


Más información sobre la lista de distribución Python-es