File handling with Python (basics)
Channel: Hydro-Morphodynamics
Date: 2022-08-23

Learn to read (open), create, and write to data files with Python and materials provided at https://hydro-informatics.com/jupyter/pynum.html

The jupyter notebooks can be git-cloned (or zip-downloaded) from the course repository: https://github.com/hydro-informatics/jupyter-python-course.git

This tutorial uses the jupyter notebook named b06-pynum.ipynb in the course repository.

Lecturer: Sebastian Schwindt

-- Contents of this video --
00:01:10 - File handling basics
00:05:06 - WITH name space
00:05:35 - Read (only) file
00:11:09 - Create and write (to) file
00:15:18 - Modify an existing file (r+)
00:19:44 - Modify (append) data to an existing file (a)