Storing objects in relational database
nayden
nayden at gmail.com
Fri May 23 17:14:27 EDT 2008
and then I try to restore the object with the following code
def success(rv):
print "success"
str = cStringIO.StringIO(libpq.PgUnQuoteBytea(rv[0][0]))
i = cPickle.load(str)
i.toString()
the execution fails just after the print statement, and I am not quite
sure why is that.
I would love to find out what people are using when they need to do
something similar --
perhaps I am trying to do it the perl way, while there is an elegant
python solution.
thanks
More information about the Python-list
mailing list