big letter -> small letter

Andrew McNamara andrewm at object-craft.com.au
Tue Jul 6 03:15:58 EDT 2004


>> 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

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/



More information about the Python-list mailing list