[Pickle]dirty problem 3 lines
bussiere bussiere
bussiere at gmail.com
Tue Aug 31 22:33:50 EDT 2010
i know it's dirty, i know i should use json but i want to know, it's
quiet late here :
import pickle
dump = """b'\x80\x03]q\x00(K\x00K\x01e.'"""
print(pickle.loads(dump))
how can i get back my object from this string ?
the string is : b'\x80\x03]q\x00(K\x00K\x01e.'
and i'am using python3
help will be appreciated i'am chewing on this for a long time now.
Regards
B.
fan of dresden files
More information about the Python-list
mailing list