#python #compsci 

**json** is a python module for handling [[JSON]] files

## Reading and writing JSON files
(using the [[Python with statement]])
![[Pasted image 20260309233700.png]]

![[Pasted image 20260309233717.png]]

Alternatively:
![[Pasted image 20260309233808.png]]

