no string.downer() ?

Fredrik Lundh fredrik at pythonware.com
Wed Aug 27 13:17:15 EDT 2008


ssecorp wrote:

> if i want to make a string downcase, is upper().swapcase() the onyl
> choice?

what you're asking for is usually called "lower case":

     http://en.wikipedia.org/wiki/Lower_case

and the corresponding string method method is called "lower":

     >>> "HELLO".lower()
     'hello'

 > there is no downer() ?

no, that would be no fun at all.

</F>




More information about the Python-list mailing list