|
Thanks - I hadn't thought about fields created by __init__(). You learn
something new every day! Karl To get an instance that should be instance = eval(classname)() otherwise you have the class object, any fields set up by __init__ wont be listed by dir otherwise.On Wed, 2009-05-27 at 12:36 +0100, Karl Stanley wrote: --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Python Ireland" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.ie/group/pythonireland?hl=en -~----------~----~----~----~------~----~------~--~--- |
- Python Question PJ Fitzpatrick
- Re: Python Question Karl Stanley
- Re: Python Question Sean O'Donnell
- Re: Python Question Karl Stanley
- Re: Python Question Steve McConville
