From: James M. <mu...@pi...> - 2011-02-25 16:22:34
|
It's a string method now. word = "ACE" word.lower() On Feb 25, 2011, at 10:02 AM, P H Borcherds wrote: > In python 2.etc there is a useful function: string.lower which converts a > string into lower case. eg string.lower("ACE") returns 'ace' > > in python 3.1 the string module no longer has any such function, > > Please can anyone let me know if such a function exists in 3.1 and where it > is to be found > > Regards > > Peter > P H Borcherds phone +44 121 475 3029 > p.h...@bh... > <myself.vcf><ATT00001..txt><ATT00002..txt> |