I want to serialize an object in jython and then be able to read it in
using python, and vice versa.
Any suggestions on how to do this? pickle doesnt work, nor does using
ObjectOutputStr eam (from jython).
I prefer to do it file based ...something like
pickle.dump(som eObj, open("output.tx t", "w"))
as opposed to shelve
f = shelve.open("ou tput.txt")
f['somedata'] = someObj
Thanks for the help in advance.
using python, and vice versa.
Any suggestions on how to do this? pickle doesnt work, nor does using
ObjectOutputStr eam (from jython).
I prefer to do it file based ...something like
pickle.dump(som eObj, open("output.tx t", "w"))
as opposed to shelve
f = shelve.open("ou tput.txt")
f['somedata'] = someObj
Thanks for the help in advance.
Comment