Generate variables at run time?

Mike Meyer mwm at
Thu Jan 9 17:49:04 CET 2003

Mike Meyer <mwm at> writes:
> Assuming you have a class Train, here's how to
> Create the list of trains: train = {}

Doh. Obviously, that creates the *dictionary* of trains.

Mike Meyer <mwm at>
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

More information about the Python-list mailing list