Collections of non-arbitrary objects ?

Neil Cerutti horpner at yahoo.com
Mon Jun 25 17:27:25 CEST 2007


On 2007-06-25, walterbyrd <walterbyrd at iname.com> wrote:
> BTW: I think polymorphism is great and all. But it does have
> (and IMO should have) it's limitations. For example, I don't
> think you can divide a string by another string.

It might be a pointless new spelling for the .split method.

x = 'Smith, Ted, 15 Smedly Rd."
last, first, street = x / ', '

Tongue-in-cheekily-yours,

-- 
Neil Cerutti
Strangely, in slow motion replay, the ball seemed to hang in the air for even
longer. --David Acfield



More information about the Python-list mailing list