Generate variables at run time?

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


Mike Meyer <mwm at mired.org> 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
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.




More information about the Python-list mailing list