Object serialization: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 278: | Line 278: | ||
<pre> |
<pre> |
||
# Object Serialization in Python |
# Object Serialization in Python |
||
# serialization in python is accomplished via the |
# serialization in python is accomplished via the Pickle module. |
||
# Alternatively, one can use the cPickle module if speed is the key, |
# Alternatively, one can use the cPickle module if speed is the key, |
||
# everything else in this example remains the same. |
# everything else in this example remains the same. |