Is there a way to pring a list object in Python?

Zeynel azeynel1 at gmail.com
Sun Oct 31 01:42:06 EDT 2010


class Rep(db.Model):
    author = db.UserProperty()
    replist = db.ListProperty(str)
    unique = db.ListProperty(str)
    date = db.DateTimeProperty(auto_now_add=True)

....

Rep().replist = L
Rep().put()
mylist = Rep().all().fetch(10)

I am trying to display mylist; but I am getting the object. Thanks.



More information about the Python-list mailing list