
SyntaxError: Non-ASCII character
Publicado por David (2 intervenciones) el 10/06/2015 09:54:11
Hola a todos,
Intento leer por el teclado unos caracteres pero python con este código:
print "¿Cómo se llama?"
nombre = input()
print nombre
Pero python me devuelve este error:
SyntaxError: Non-ASCII character '\xbf' in file C:/Documents and Settings/PROPIETARIO/PycharmProjects/untitled/vamos on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
He buscado por google, pero no encuentro la solución...
Saludos y muchas gracias.
Intento leer por el teclado unos caracteres pero python con este código:
print "¿Cómo se llama?"
nombre = input()
print nombre
Pero python me devuelve este error:
SyntaxError: Non-ASCII character '\xbf' in file C:/Documents and Settings/PROPIETARIO/PycharmProjects/untitled/vamos on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
He buscado por google, pero no encuentro la solución...
Saludos y muchas gracias.
Valora esta pregunta


0