[Tutor] creating variables at runtime

Kirby Urner urnerk@qwest.net
Thu, 24 Jan 2002 10:45:10 -0800


>
>The general approach was inspired by "Python Programming on Win32",
>but the
>         obj = globals()[key]()
>must be blamed on me.  It sort of seems like cheating, but has
>worked nicely for us.

That's pretty clever, I must say.  Definitely a trick I'd not
thought of.

Kirby