(No subject)

Steven Bethard steven.bethard at gmail.com
Thu Dec 16 22:49:11 CET 2004

Jeremy Jones wrote:
> Mark Devine wrote:
>> I'm brand new to python and I was wondering if anybody knew of a easy 
> You could use string.lower (make sure you "import string"):

string.lower is deprecated in Python 2.4.  Better to go with str.lower 
as Diez B. Roggisch suggested:

commands = [c.lower() for c in commands]


More information about the Python-list mailing list