D
David Bear
I'm rather new to pickling but I have some dictionaries and lists I want to
package and send to another process (on another machine).
I was hoping I could just send a stringified pickle. However, the examples
in the doc have:
I don't really want to write to a file. I know I could write to sys.stdout.
But I'd rather collect the string and do some garbage collect, etc before I
exit the script.
Is there a way to have cPickle just hand me a string?
package and send to another process (on another machine).
I was hoping I could just send a stringified pickle. However, the examples
in the doc have:
I don't really want to write to a file. I know I could write to sys.stdout.
But I'd rather collect the string and do some garbage collect, etc before I
exit the script.
Is there a way to have cPickle just hand me a string?