Python is fun (useless social thread) ;-)
Bruno Desthuilliers
onurb at xiludom.gro
Tue Jun 27 08:20:39 EDT 2006
BartlebyScrivener wrote:
>>You know what are dicts, right ? That is, containers with keyword-access
>>to values ? Then you probably have dicts with a known, defined
>>structure, and functions working on it. What classes (and hence 00)
>>gives you is a way to associate these functions with the dicts
>>themselves. That is the big intuition about objects, the rest is just
>>details.
>
>
> Bruno,
>
> Ever seen this from Fuzzyman? It explicitly uses the dict comparison.
>
> http://www.voidspace.org.uk/python/articles/OOP.shtml#introduction
Nope - and the site seems to be down actually. But thanks for the
pointer anyway.
> Thanks for the tip,
Welcome to OO !-)
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list