Read and write files, CSV, JSON, and pathlib
Learn to read, write, and process files in Python. Master open(), read(), write(), file modes, and the with statement through interactive examples and exercises.
Learn to read, write, and process CSV files in Python using the csv module. Master csv.reader, csv.writer, DictReader, and DictWriter through interactive examples.
Learn to parse, create, and manipulate JSON data in Python. Master json.loads(), json.dumps(), file I/O, and pretty printing through interactive examples and exercises.
Learn modern file path handling in Python with pathlib. Master Path objects, path properties, joining paths, and globbing through interactive examples and exercises.