JSON Handling in Python – Read, Write & Update JSON Files | ThinkInCode

Опубликовано: 26 Май 2026
на канале: ThinkInCode
10
2

Learn how to handle JSON files in Python from scratch! In this tutorial, we cover everything you need to know — writing, reading, updating, and pretty-printing JSON data using Python's built-in json module.

🕐 Timestamps:
00:00 – Introduction & what is JSON?
00:09 – JSON vs Python dictionary
00:25 – Writing a JSON file (json.dump)
01:36 – File modes: read, write, append
02:10 – Updating an existing JSON file
02:45 – Reading a JSON file (json.load)
03:00 – Editing & appending data
05:07 – Accessing individual data elements
06:42 – Pretty-printing with indent
07:39 – Summary: json.dump vs json.load
07:46 – Outro

📌 Notes & resources are linked in the description below.
https://drive.google.com/drive/folder...
🔔 Subscribe for more Python tutorials → ThinkInCode playlist in the end screen!