Hello, I have a problem with this code:

# -*- coding: latin-1 -*-
year = u'año, ò, ó, ç'
print year
year = input(u'Introduce el año:')
print year
raw_input()

The first print statement works as expected, both in IDLE and when 
double-clicking the file for a console view.
The second one works in IDLE, but just flashes by when double-clicking the 
file, 
due to an error report I can't see. 

I believe the problem is that input prompt doesn't support unicode strings, 
which means I can't use my language for prompts?
Could someone please tell me how to fix it or provide a workaround?
Thanx.

Using Python 2.7 under win32.


      
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to