| pickle (version 1.34) | index /usr/lib/python1.5/pickle.py |
create portable serialized representations of Python objects.
See module cPickle for a (much) faster implementation.
See module copy_reg for a mechanism for registering custom picklers.
Classes:
Pickler
Unpickler
Functions:
dump(object, file)
dumps(object) -> string
load(file) -> object
loads(string) -> object
Misc variables:
__version__
format_version
compatible_formats
| Modules | |||||||
| |||||||
| Classes | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| Functions | |||
| Constants | |||
APPEND = 'a' APPENDS = 'e' BINFLOAT = 'G' BINGET = 'h' BININT = 'J' BININT1 = 'K' BININT2 = 'M' BINPERSID = 'Q' BINPUT = 'q' BINSTRING = 'T' BUILD = 'b' BufferType = <type 'buffer'> BuiltinFunctionType = <type 'builtin_function_or_method'> BuiltinMethodType = <type 'builtin_function_or_method'> ClassType = <type 'class'> CodeType = <type 'code'> ComplexType = <type 'complex'> DICT = 'd' DUP = '2' DictType = <type 'dictionary'> DictionaryType = <type 'dictionary'> EMPTY_DICT = '}' EMPTY_LIST = ']' EMPTY_TUPLE = ')' EllipsisType = <type 'ellipsis'> FLOAT = 'F' FileType = <type 'file'> FloatType = <type 'float'> FrameType = <type 'frame'> FunctionType = <type 'function'> GET = 'g' GLOBAL = 'c' INST = 'i' INT = 'I' InstanceType = <type 'instance'> IntType = <type 'int'> LIST = 'l' LONG = 'L' LONG_BINGET = 'j' LONG_BINPUT = 'r' LambdaType = <type 'function'> ListType = <type 'list'> LongType = <type 'long int'> MARK = '(' MethodType = <type 'instance method'> ModuleType = <type 'module'> NONE = 'N' NoneType = <type 'None'> OBJ = 'o' PERSID = 'P' POP = '0' POP_MARK = '1' PUT = 'p' PicklingError = 'pickle.PicklingError' REDUCE = 'R' SETITEM = 's' SETITEMS = 'u' SHORT_BINSTRING = 'U' STOP = '.' STRING = 'S' SliceType = <type 'slice'> StringType = <type 'string'> TUPLE = 't' TracebackType = <type 'traceback'> TupleType = <type 'tuple'> TypeType = <type 'type'> UnboundMethodType = <type 'instance method'> UnpicklingError = 'pickle.UnpicklingError' XRangeType = <type 'xrange'> compatible_formats = ['1.0', '1.1', '1.2'] format_version = '1.3' | |||