Skip to content

Glossary: Algorithms Beyond the Basics

with open

Also written: open, FileNotFoundError

Python's way to read a file, where the file closes itself when the block ends. If the file is missing, `open` raises `FileNotFoundError`.

Where the book teaches it

Related terms

CSV (comma-separated values)