Benjamin Patch

Guides for Building Ethical & Impactful AI Software

Articles in the AI in Practice category

Python Kickstart (part 3): Control Flow and Conditionals

Written by Benjamin Patch

Transform static code into intelligent programs with Python's control flow statements. Learn if/elif/else conditionals, for and while loops, and how to combine them for complex logic. Complete with practical examples using movie data and film analysis scenarios to reinforce key programming concepts. Let's dive in!

Read More

Python Kickstart (part 2): Data Types and Data Structures

Written by Benjamin Patch

Let's dive deeper into Python's fundamental building blocks: data types and data structures. Understanding these concepts is crucial for writing effective Python programs. Think of data types as the different kinds of information your program can work with, while data structures are the containers that organize and store that information. Let's get started!

Read More

When Vibe Coding Fails: Python Kickstart (part 1)

Written by Benjamin Patch

Welcome to part one of my Python Kickstart series! Let's discuss why you should still learn Python in the age of vibe coding. Then we'll get our feet wet by learning about running Python code. An introduction to variables, the print function, basic errors, and code comments. Let's get started!

Read More

Simple Python Virtual Environments: Linux and Mac

Written by Benjamin Patch

Python is the most widely used programming language for projects involving artificial intelligence and machine learning. But regardless of what you use Python for, virtual environments are critical to essentially all development workflows. In this guide, you will learn why virtual environments are important and how to create and manage them.

Read More