Hello Everyone,
I want to serialize and deserialize the objects into Memory not into
file. How can i do that?
Best Regards,
--
http://mail.python.org/mailman/listinfo/python-list
hardemr schrieb:
Hello Everyone,
I want to serialize and deserialize the objects into Memory not into
file. How can i do that?
Use pickle module StringIO/cStringIO as file-to-memory-object.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
hardemr wrote:
Hello Everyone,
I want to serialize and deserialize the objects into Memory not into
file. How can i do that?
You want to serialize the objects, but only keep them in memory? That
hardly makes any sense. Serialization is need if you want to store your
objects in a file or if
On Jul 11, 12:58 pm, hardemr [EMAIL PROTECTED] wrote:
Hello Everyone,
I want to serialize and deserialize the objects into Memory not into
file. How can i do that?
pickle.dumps and pickle.loads.
--Inyeol
--
http://mail.python.org/mailman/listinfo/python-list
Gerhard Häring [EMAIL PROTECTED] writes:
You want to serialize the objects, but only keep them in memory?
That hardly makes any sense. Serialization is need if you want to
store your objects in a file or if you want to communicate (via
network) with other processes.
If one needs to do