Tian wrote:
I have a string: classname = "Dog"
It's easier without strings:
>>> classname = Dog >>> classname().bark() Arf!!! >>> -- http://mail.python.org/mailman/listinfo/python-list
Tian wrote:
I have a string: classname = "Dog"
It's easier without strings:
>>> classname = Dog >>> classname().bark() Arf!!! >>> -- http://mail.python.org/mailman/listinfo/python-list