I have this:
>>> print 'example' example >>> print 'exámple' exámple >>> print 'exámple'.upper() EXáMPLE
What I need to do to print:
EXáMPLE
(Where the 'a' gets its accute accent, but in uppercase.)
I'm using Python 2.6.
I think it's as simple as not converting to ASCII first.
>>> print u'exámple'.upper() EXáMPLE
2.1m questions
2.1m answers
60 comments
57.0k users