String.join revisited (URGENT for 1.6)
Courageous
jkraska1 at san.rr.com
Mon May 29 18:55:00 EDT 2000
> > words = ["foo", "bar", "baz"]
> > print words.join(" ")
> print ( "foo", "bar" ).join(" ")
I've thought about this for a bit, and it's quite clear to me that
these idoms are the natural representation for this. Whether or
not their implementation in python is easily/optimally acheived
is another issue altogether, but this representation is natural
and, IMO, right one.
C/
More information about the Python-list
mailing list