Re: Dynamic classes

2005-11-26 Thread Dave Rose
Duh! how dumb am I? A dictionary solves all those problems, with each entry named, and the value of each name could be a class instace. plus all the class instances can be iterated by a loop. Thanks Piet & Alex for your guidance! -Dave "Piet van Oostrum" <[EMAIL PROTECTED]> wrote in message

Re: Dynamic classes

2005-11-25 Thread Piet van Oostrum
> "Dave Rose" <[EMAIL PROTECTED]> (DR) wrote: >DR> Hello all. >DR> I was wondering if creating classes could be dynamic. I want to know >DR> if I can make a class Person, then read in a list of names (say >DR> people's names) so then I can have a class instance created for each >DR> name in

Re: Dynamic classes

2005-11-25 Thread Alex Martelli
Dave Rose <[EMAIL PROTECTED]> wrote: > Hello all. > I was wondering if creating classes could be dynamic. I want to know if I > can make a class Person, then read in a list of names (say people's names) > so then I can have a class instance created for each name in the list? Yes, but what you'