Free Articles and Tutorials: Python

This page contains a listing of free articles and tutorials.


How to find all your Python installations on Windows (and Mac)

It's easy to wind up with multiple installations of Python on Windows (and Mac). In this article, we show you how to locate them all.

Read Article

Mapping python to Python 3 on Your Mac

When you install Python 3 on a Mac, it does not update the python command to use Python 3 instead of Python 2. Instead, to run Python 3, you have to use the python3 command. In this brief article, we show you how to fix this.

Read Article

Python Virtual Environments with venv

In this brief tutorial, we’ll show you how to create a virtual environment with Python’s venv module. We will do this using Visual Studio Code.

Read Article

Understanding Python’s __main__ variable

In this brief article and accompanying video, we explain the Python magic __main__ variable.

Read Article