py wrote:
> 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
> ObjectOutputStream (from jython).
>
> I prefer to do it file based ...something like
>
> pickle.dump(som
Noah wrote:
> You can give up on pickle, because pickle is only
> guaranteed to work with the exact same version of the Python
> interpreter.
Not true. You're thinking of marshal.
--
Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && A
"Noah" <[EMAIL PROTECTED]> wrote:
> > Thanks for the help in advance.
>
> You can give up on pickle, because pickle is only guaranteed
> to work with the exact same version of the Python interpreter.
nope.
maybe you're thinking of marshalled bytecode, but I don't think
that's what the OP was tal
"py" <[EMAIL PROTECTED]> writes:
> Noah wrote:
> > You can give up on pickle, because pickle is only
> > guaranteed to work with the exact same version of the Python
> > interpreter.
>
> :(
No that's confusing pickle with marshal. Pickle is supposed to work
across versions, though it has recentl
Noah wrote:
> You can give up on pickle, because pickle is only
> guaranteed to work with the exact same version of the Python
> interpreter.
:(
> How complex of a serialization do you need?
simple
I just wrote the info out to a file. then i have a thread which reads
in the files and parses t
py wrote:
> 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
> ObjectOutputStream (from jython).
>
> I prefer to do it file based ...something like
>
> pickle.dump(someOb