Serialize Python Objects With Pickle

preview_player
Показать описание
In this fundamental video, we learn how to use Pickle in order to serialize objects in Python.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾

📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

Рекомендации по теме
Комментарии
Автор

Bro you explained this so well. I've been doing Python for two years, but never really had a need to know this. However, I was always curious why so many people talked about pickle all the time. It's actually really simple when you explain it like that.

samiam.
Автор

I've used pickle before but never really fully understood it. In my videos, I just say to use it but never really explain its usage. Thanks for making this video!

BrandonJacobson
Автор

and then he turned an object into a fucking pickle

funniest shit i've ever seen

oguzhantopaloglu
Автор

I've used pickle before, but moved away from it in favor of writing to json ... I never realized I could store any type of object into pickle, thank you!

jeffmaddocks
Автор

Good work! Thanks for the video! Fast explanation. Gives important context. Fast typer too! Will definitely check our more of your videos

donr
Автор

Excellent explanation. Thank you very much. I now understand the concept of pickle, serialization and deserialization.

otechacademy
Автор

great tut, been trying for hours and now i fully understood and implemented this in 10 mins and my program works lul 😁

alexbrun
Автор

Thanks for making a video about this! I already knew how to use it, but it is very cool.

LukieHZX
Автор

Thank you for the clear visualization. Im facing problem regarding a pkl file. Wondering if you can help me. I get the error while trying to load a pkl file. Is says UnicodeDecodeError: ascii codec cannot convert the byte 0xdf in position 0.
Thanks in advance

ziniasultana
Автор

The idea of pickle module is very nice!

abdulmajedahmad
Автор

Great video. Just wanted to ask, is pickle good for saving a session of a GUI application with multiple forms ?

katlegomotlana
Автор

what IDLE you are using to run the python scripts? Thanks.

aqayyum
Автор

Very informative. Thank you for sharing!

hameddadgour
Автор

Great as always💓
Can you also Pleeeeaaaasssseeee make a video on the pickle deserialisation

yashjha
Автор

as more of a beginner this video was more intermediate to advanced in explanation.. still good

canuk
Автор

Is this faster or more efficient than JSON?

nordgaren
Автор

Would be good to add how to use with sockets

thomasrathbun
Автор

I am getting an error,
Can you please help with it?
Whenever I am trying to use pickle.dump
TypeError: cannot pickle '_thread.RLock' object
Please help

akhilchitta
Автор

Poor mike, he must've never ate for eons. He is a camp survivor.

galenguran
Автор

I've learned nothing from this video that I hadn't learned from googling pickle and looking at its description/definition.

What does it mean to serialize an object? What's actually stored in the output file?

shacharh