Jython newbie question

Martin Franklin mfranklin1 at gatwick.westerngeco.slb.com
Thu Jul 25 12:48:31 EDT 2002


On Thursday 25 Jul 2002 3:12 pm, Christopher Myers wrote:
> I just downloaded Maxq (http://www.bitmechanic.com/projects/maxq/)
>
> (etc . . .)


I forgot to add that as of python 2.0 (and Jython 2.0) you don't need the 
string module for anything apart from obscure (IMHO) methods as string 
objects have methods:


>>> "aaaaa".upper()
'AAAAA'
>>> _.lower()
'aaaaa'
>>> ",".join('abcdefg')
'a,b,c,d,e,f,g'


etc.....


Martin




More information about the Python-list mailing list