David Yeoman

Creating, Reading & Updating A Config File with Python

Subtitle: Avoid Hard-Coded Data While Making Your (And Others) Life Easier When the subject of config, or configuration, files comes up there is often confusion on what they are, how to read them, and the benefits that come from their use. In this article, we will cover what config files are before introducing the Python …

Creating, Reading & Updating A Config File with Python Read More »

How to Check if Items in a Python List Are Also in Another

There comes a time in all our coding lives when we need to compare lists to understand whether items in one list appear in a second list. In this article we’ll start where we all started, using for-loops, before moving to a more classic Python list comprehension. We’ll then move beyond that to use Python …

How to Check if Items in a Python List Are Also in Another Read More »