Posts

Showing posts from November, 2025

Edit or Add to PATH Environment Variable in Windows 10

Image
Why Add to PATH? PATH is an environment variable and by adding something to PATH, you are telling your system where to look when it's looking for a particular file. In this tutorial, I will be adding Python to my path. In essence, by adding Python to my PATH, I'm telling Windows, "hey, look here for Python." By doing this, I don't have to write a book in my command line every time I want to run a Python file, like this:   C:/Python3/Python my_python_code.py Instead, I simply type this into my command line: python my_python_code.py It seems like a minor difference, but remember that you'll otherwise have to remember the path to your Python installation! In this tutorial, I will be using Windows 10 to get the job done. Let's get started! Note : In this guide, we will be modifying system variables.This can affect how your system operates. Before making changes, it's always a good practice to back up your current PATH. You can do this by copying what'...