Re: what has happened to string.lower?

Peter Borcherds <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <26E9FE4C-C319-48BF-AE12-A3415B019CEE@mimectl>
Thank you to those who replied

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

Regards

Peter

P H Borcherds  +44 [0] 121 475 3029
________________________________
From: P H Borcherds [[email protected]]
Sent: 25 February 2011 15:02
To: vpython
Subject: what has happened to string.lower?

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]

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