Python Programming Tutorial: Serializing Objects (Pickling)

Publié le: 13 avril 2020
sur la chaîne: Professor Hank Stalica
2,312
35

In this video we talk about how to serialize and deserialize objects in Python, better known as pickling.

We're going to create some objects, write them to a file, and then read them back in from a file so we can use them again.

A really straight-forward process that requires you to import the pickle module, open a file, dump (if you're pickling) an object to a file or load (if you're unpickling) an object from a file into memory and then close the file.

For more information, you can check out Python's website:

https://docs.python.org/3/library/pic...


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Programming Tutorial: Serializing Objects (Pickling) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Professor Hank Stalica 13 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,312 fois et il a aimé 35 téléspectateurs. Bon visionnage!