Vous êtes un professionnel et vous avez besoin d'une formation ?
Calcul scientifique avec Python
Voir le programme détaillé
Python 3.11.3
Contenu du module « pickle »
Liste des classes du module pickle
islice
islice(iterable, stop) --> islice object [extrait de islice.__doc__ ]
partial
partial(func, *args, **keywords) - new function with partial application [extrait de partial.__doc__ ]
PickleBuffer
Wrapper for potentially out-of-band buffers [extrait de PickleBuffer.__doc__ ]
Pickler
This takes a binary file for writing a pickle data stream. [extrait de Pickler.__doc__ ]
Unpickler
This takes a binary file for reading a pickle data stream. [extrait de Unpickler.__doc__ ]
Liste des exceptions du module pickle
Liste des fonctions du module pickle
decode_long(data)
Decode a long from a two's complement little-endian binary string. [extrait de decode_long.__doc__ ]
dump(obj, file, protocol=None, *, fix_imports=True, buffer_callback=None)
Write a pickled representation of obj to the open file object file. [extrait de dump.__doc__ ]
dumps(obj, protocol=None, *, fix_imports=True, buffer_callback=None)
Return the pickled representation of the object as a bytes object. [extrait de dumps.__doc__ ]
encode_long(x)
Encode a long to a two's complement little-endian binary string. [extrait de encode_long.__doc__ ]
load(file, *, fix_imports=True, encoding='ASCII', errors='strict', buffers=())
Read and return an object from the pickle data stored in a file. [extrait de load.__doc__ ]
loads(data, /, *, fix_imports=True, encoding='ASCII', errors='strict', buffers=())
Read and return an object from the given pickle data. [extrait de loads.__doc__ ]
pack
pack(format, v1, v2, ...) -> bytes [extrait de pack.__doc__ ]
unpack(format, buffer)
Return a tuple containing values unpacked according to the format string. [extrait de unpack.__doc__ ]
whichmodule(obj, name)
Find the module an object belong to. [extrait de whichmodule.__doc__ ]
Liste des variables globales du module pickle
ADDITEMS
b'\x90'
APPEND
b'a'
APPENDS
b'e'
BINBYTES
b'B'
BINBYTES8
b'\x8e'
BINFLOAT
b'G'
BINGET
b'h'
BININT
b'J'
BININT1
b'K'
BININT2
b'M'
BINPERSID
b'Q'
BINPUT
b'q'
BINSTRING
b'T'
BINUNICODE
b'X'
BINUNICODE8
b'\x8d'
BUILD
b'b'
BYTEARRAY8
b'\x96'
bytes_types
(<class 'bytes'>, <class 'bytearray'>)
compatible_formats
['1.0', '1.1', '1.2', '1.3', '2.0', '3.0', '4.0', '5.0']
DEFAULT_PROTOCOL
4
DICT
b'd'
dispatch_table
{<class 'complex'>: <function pickle_complex at 0x7f720e236980>, <class 'types.UnionType'>: <function pickle_union at 0x7f720e236ac0>, <class 're.Pattern'>: <function _pickle at 0x7f720e236660>, <class 'numpy.ufunc'>: <function _ufunc_reduce at 0x7f720bbbf100>, <class 'numpy._DTypeMeta'>: <function _DType_reduce at 0x7f720bbf5080>, <class 'uarray._Function'>: <function pickle_function at 0x7f71ba7dc400>, <class 'uarray._BackendState'>: <function pickle_state at 0x7f71ba7dc360>, <class 'uarray._SetBackendContext'>: <function pickle_set_backend_context at 0x7f71ba7dc4a0>, <class 'uarray._SkipBackendContext'>: <function pickle_skip_backend_context at 0x7f71ba7dc540>}
DUP
b'2'
EMPTY_DICT
b'}'
EMPTY_LIST
b']'
EMPTY_SET
b'\x8f'
EMPTY_TUPLE
b')'
EXT1
b'\x82'
EXT2
b'\x83'
EXT4
b'\x84'
FALSE
b'I00\n'
FLOAT
b'F'
format_version
4.0
FRAME
b'\x95'
FROZENSET
b'\x91'
GET
b'g'
GLOBAL
b'c'
HIGHEST_PROTOCOL
5
INST
b'i'
INT
b'I'
LIST
b'l'
LONG
b'L'
LONG1
b'\x8a'
LONG4
b'\x8b'
LONG_BINGET
b'j'
LONG_BINPUT
b'r'
MARK
b'('
maxsize
9223372036854775807
MEMOIZE
b'\x94'
NEWFALSE
b'\x89'
NEWOBJ
b'\x81'
NEWOBJ_EX
b'\x92'
NEWTRUE
b'\x88'
NEXT_BUFFER
b'\x97'
NONE
b'N'
OBJ
b'o'
PERSID
b'P'
POP
b'0'
POP_MARK
b'1'
PROTO
b'\x80'
PUT
b'p'
PyStringMap
None
READONLY_BUFFER
b'\x98'
REDUCE
b'R'
SETITEM
b's'
SETITEMS
b'u'
SHORT_BINBYTES
b'C'
SHORT_BINSTRING
b'U'
SHORT_BINUNICODE
b'\x8c'
STACK_GLOBAL
b'\x93'
STOP
b'.'
STRING
b'S'
TRUE
b'I01\n'
TUPLE
b't'
TUPLE1
b'\x85'
TUPLE2
b'\x86'
TUPLE3
b'\x87'
UNICODE
b'V'
Liste des alias du module pickle
Vous êtes un professionnel et vous avez besoin d'une formation ?
Programmation Python Les fondamentaux
Voir le programme détaillé
2025 © SARL Infini Software - Tous droits réservés
Mentions légales
Les informations présentes dans ce site vous sont fournies dans le but de vous aider à acquérir les compétences nécessaires à
l'utilisation des langages ou des technologies considérés. Infini Software ne pourra nullement être tenu responsable de l'utilisation
des informations présentes dans ce site.
De plus, si vous remarquez des erreurs ou des oublis dans ce document, n'hésitez surtout pas à nous le signaler en envoyant un mail
à l'adresse : .
Les autres marques et les noms de produits cités dans ces documents sont la propriété de leurs éditeurs respectifs.
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :