Basic File Handling and Parsing in Python

Joseph Mellor
9 min readFeb 23, 2023

Knowing how to properly read, write, and parse data is essential to doing anything useful with python.

Image made by me using the python logo, cool-retro-term, vim, the onedark color scheme, and GIMP.

By this point in the series, you should know how to write a program that gives a different output when given a different input. Now, we just need some way of giving the program various inputs.

  • Previous Article
  • Next Article

--

--

Joseph Mellor

BS in Physics, Math, and CS with a minor in High-Performance Computing. You can find all my articles at https://josephmellor.xyz/articles/.