Assigning to lists with arbitrary names
tdelaney at avaya.com
Mon Oct 15 02:27:40 CEST 2001
> From: Cliff Wells [mailto:logiplexsoftware at earthlink.net]
> On Wednesday 10 October 2001 23:57, Christian Tanzer wrote:
> > And it still uses a dictionary (just slightly hidden from your view)
> > so what's the point of such a gross hack?
> > I think the OP should consider getting rid of his fear of
> nested data
> > structures -- in Python they are your friend.
> Hrm, is it immoral of me to provide such disgusting code,
> even if someone
> explicitly requests it? Should I help protect them from
> themselves? =)
Yes it is. We need to protect such people from themselves ;)
Perhaps the best way to handle this is ...
"The Pythonic way to do this is ... If you *really* want to do it <the other
way> you can, and we will help you, but we suggest you try it the Pythonic
More information about the Python-list