Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Python by (2.2k points)

Could someone tell me what is Pickle in Python?

1 Answer

0 votes
by (3.9k points)

Pickle in Python is defined as a Python module that is used for serializing or de-serializing Python object structures. Pickling is the process of performing these operations, and hence also called marshaling, flattening, etc. Why do we Pickle Python objects? Well, it's for storing any Python objects on a disk. During this Pickling or flattening process, it converts Python objects (dict, list, etc.) into byte-streams or character-streams, which could then be saved onto a disk.

Want to learn Python the correct way to enhance your job profile? Check out Intellipaat’s Python certification course, which is designed to optimize your practical experience in the domain, with projects guided by industry experts who are both skillful and competent. Have a look at the following video on Python Tutorial to get started.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...