beginner

Learn the basics of Python with these beginner-friendly tutorials

ANN: Vibe Coding Video Games with Python

I am happy to announce my latest book, Vibe Coding Video Games with Python. Here’s the announcement from my Kickstarter: Welcome to Vibe Coding Video Games with Python. In this book, you will learn how to use artificial intelligence to create mini-games. You will attempt to recreate the look and feel of various classic video […]

ANN: Vibe Coding Video Games with Python Read More »

Python 101 – An Intro to Working with INI files Using configparser

Many programs require configuration. Most have a default configuration and many allow the user to adjust that configuration. There are many different types of configuration files. Some use text files while others use databases. Python has a standard library called configparser that you can use to work with Microsoft Windows INI files. In this tutorial,

Python 101 – An Intro to Working with INI files Using configparser Read More »

An Intro to pre-commit

You can use many great tools to help you in your software development journey. One such tool is pre-commit, a framework for managing and maintaining multi-language pre-commit hooks. You use pre-commit to run one or more tools before allowing you to commit your code locally. For example, you might run the Flake8 linter or the Ruff formatter

An Intro to pre-commit Read More »

Textual – The New MaskedInput Widget

Textual v0.80.0 was released today, and it included the brand-new MaskedInput widget. If you have used other GUI toolkits, such as wxPython, you might already be familiar with a masked input widget. These widgets allow you to control the user’s input based on a mask string that the developer provides when instantiating the widget. Let’s spend

Textual – The New MaskedInput Widget Read More »

Adding Terminal Effects with Python

The Python programming language has thousands of wonderful third-party packages available on the Python Package Index. One of those packages is TerminalTextEffects (TTE), a terminal visual effects engine. Here are the features that TerminalTextEffects provides, according to their documentation: Xterm 256 / RGB hex color support Complex character movement via Paths, Waypoints, and motion easing,

Adding Terminal Effects with Python Read More »