Part 6: Saving objects in files with pickle, dbm and shelve modules in Python (in Hindi)

Part 6: Saving objects in files with pickle, dbm and shelve modules in Python (in Hindi)

🎙 Artificial Intelligence by SIS 👥 7K 📅 April 14, 2026 ⏱ 26 min 👁 57 📄 tutorial 🧭 2026-08-16
Available in: English (current) Français

Keywords

pickledbmshelveobject serializationPython

Summary

This tutorial, presented in Hindi, explains how to save Python objects to files using the pickle, dbm, and shelve modules. The instructor begins by introducing the concept of object persistence and the roles of each module: pickle serializes objects into byte strings, dbm provides a key-value file system, and shelve combines both to store objects by key. The video demonstrates creating a Person class and a Manager subclass, then instantiating objects and saving them to a shelve database. It shows how to retrieve objects, access their attributes, and even modify them, with a practical example of increasing a salary. The tutorial also covers inspecting the database files and iterating over stored objects. The content is clear and well-structured, suitable for beginners, and includes a link to source code. However, it lacks discussion of security risks and performance considerations.

138 words

Critical Evaluation

Value of the Information & Strength of the Argument

The video provides a practical, hands-on demonstration of object persistence in Python, which is valuable for learners. The argumentation is clear and logical, building from basic concepts to more advanced usage. The instructor explains each step thoroughly, making it easy to follow. However, the video does not delve into best practices, potential pitfalls, or comparisons with other serialization methods, which would enhance its value.

Scientific Rigor, Source Quality, Title Accuracy

The tutorial is scientifically sound, with accurate technical explanations. The only source provided is a Google Drive link to the source code, which is appropriate for a tutorial. The title accurately reflects the content. No external references are cited, which is typical for a tutorial but limits its scientific depth. The video does not include any advertising segments.

137 words

Title / Content Match

The title accurately reflects the content, which focuses on saving objects using pickle, dbm, and shelve modules.

Quality & Reliability

7/10

The tutorial is technically accurate, demonstrates practical usage of Python's shelve module for object persistence, and includes code examples. However, it lacks citations to external sources and does not discuss potential limitations or security concerns of pickle.

Key Moments

Cited Sources

Concurring Sources

Contribution & Novelties

The video offers a clear, step-by-step tutorial on using Python’s shelve module for object persistence, which is a practical skill for developers. It demonstrates real-world usage with a class hierarchy and shows how to modify and retrieve objects. The main novelty is the accessible explanation in Hindi, making it valuable for Hindi-speaking learners.

Pour aller plus loin :

88 words

Radar Profile

The radar profile shows balanced scores across all dimensions, with slightly lower technical depth and source rigor, reflecting the tutorial's practical focus and lack of external citations.

Reliability 7/10