Eve from Adams' Ribs
Magnus Lycka
lycka at carmen.se
Tue Aug 23 09:39:57 EDT 2005
Godwin wrote:
> I think its possible with python as it is called a dynamic
> language.
Certainly, but what's really the point with these classes?
If they are completely generated from tables, they won't
have different behaviour anyway, just a different chunk
of attributes to fetch, save and update.
It's probably as easy to just have one class, and to have
a dynamic list of attributes and values that you define by
passing in the table name in __init__.
More information about the Python-list
mailing list