cPickle
¶
C implementation and optimization of the Python pickle module.
Functions¶
Pickler |
Pickler(file, protocol=0) – Create a pickler. |
Unpickler |
Unpickler(file) – Create an unpickler. |
dump |
dump(obj, file, protocol=0) – Write an object in pickle format to the given file. |
dumps |
dumps(obj, protocol=0) – Return a string containing an object in pickle format. |
load |
load(file) – Load a pickle from the given file |
loads |
loads(string) – Load a pickle from the given string |