Python Pickle Module for saving objects (serialization)

Publié le: 22 mai 2015
sur la chaîne: sentdex
202,855
3.1k

This Python programming tutorial covers how to pickle objects in Python.

The pickle module implements binary protocols for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is converted into a byte stream, and “unpickling” is the inverse operation, whereby a byte stream (from a binary file or bytes-like object) is converted back into an object hierarchy. Pickling (and unpickling) is alternatively known as “serialization”, “marshalling,” [1] or “flattening”; however, to avoid confusion, the terms used here are “pickling” and “unpickling”.

Source: https://docs.python.org/2/library/pic...

sample code: http://pythonprogramming.net
http://hkinsley.com
  / sentdex  
http://sentdex.com
http://seaofbtc.com


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Pickle Module for saving objects (serialization) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur sentdex 22 mai 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 202,855 fois et il a aimé 3.1 mille téléspectateurs. Bon visionnage!