|
From: Peter B. <p.h...@bh...> - 2011-02-25 17:01:25
|
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 [p.h...@bh...]
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
p.h...@bh...
|