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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…