i'm playing (or trying to) around with sqlobject, and trying to create a class/obj, so that everytime the class is instantiated, a field in the class is set to a given value...

is this possible?

Do you mean something like this?

class Book(SQLObject):
    name=StringCol(length=20, default="Bruce")
    addr=StringCol(length=20, default="Earthlink")
print Book.get(1).name

Happy New Year

Petr Jakes