big letter -> small letter

Pierre-Frédéric Caillaud peufeu at free.fr
Tue Jul 6 11:06:22 CEST 2004


	Also yourtsring.lower() will correctly handle accented chars according to  
locale, unicode, etc. which is very important !


>>> How can i change big letter to small letter ?
>>>
>>> When i tried char=char+32 i received error that can not add
>>> int to sring.
>>
>>>>> 'e'.upper()
>> 'E'
>>>>> 'E'.lower()
>> 'e'
>>>>>
>
> For more string goodness, look at the Library Reference Manual...
>
>     http://docs.python.org/lib/string-methods.html
>




More information about the Python-list mailing list