Re: what has happened to string.lower?

James Mueller <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
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
> [email protected] 
> <myself.vcf><ATT00001..txt><ATT00002..txt>


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.