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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to