🥝GuideKiwi
Free Guide

Free Guide to Python Download Basics

What Python Is and Why People Use It Python is a programming language created in 1989 by Guido van Rossum. Think of a programming language like a set of inst...

GuideKiwi Editorial Team·

What Python Is and Why People Use It

Python is a programming language created in 1989 by Guido van Rossum. Think of a programming language like a set of instructions you write to tell a computer what to do. Python uses words and phrases that look similar to English, which makes it different from many other programming languages that can look like random symbols and characters.

According to the Stack Overflow 2023 Developer Survey, Python ranks as the most commonly used programming language among professionals. About 49% of professional developers use Python in their work. This popularity exists because Python can handle many different types of tasks. People use Python to build websites, analyze data, create artificial intelligence systems, automate repetitive work tasks, build games, and much more.

The language became especially important in fields like data science and machine learning. Companies like Netflix, Instagram, Spotify, and Google use Python in their operations. Universities teach Python as a first programming language because the code reads like natural language. For example, a line of Python code might say "print('Hello World')" which clearly means "display the text Hello World on screen."

Python works on Windows computers, Mac computers, and Linux systems. This means code written on one type of computer usually works on other types without major changes. The language also has a large community of people who create tools and libraries—collections of pre-written code that solve common problems.

Practical Takeaway: Understanding that Python is a beginner-friendly language used by major companies worldwide gives you context for why learning it might be valuable for career development, hobby projects, or academic purposes.

Where to Find Python and What Versions Exist

Python comes in different versions, and this matters when you're getting started. The two main versions that exist are Python 2 and Python 3. Python 2 was released in 2000, and Python 3 came out in 2008. Python 2 officially stopped receiving updates on January 1, 2020, meaning no new security fixes or improvements are released for it anymore.

You should use Python 3 for any new projects. As of 2024, the current stable version is Python 3.12, released in October 2023. Each version (3.11, 3.12, etc.) includes bug fixes and new features. The differences between recent Python 3 versions are usually small, so using 3.10, 3.11, or 3.12 will work for most learning purposes.

The official source for Python is python.org, which is the website run by the Python Software Foundation. This nonprofit organization maintains the language and makes the official versions available. When you visit python.org, you'll see a "Downloads" section that shows versions for different operating systems: Windows, macOS, and various Linux distributions.

Python is free and open-source, meaning anyone can inspect the code that makes Python work. No payment is required to obtain or use Python. You can also find Python through other sources. Many operating systems include Python already. Most Mac computers and Linux systems come with some version of Python pre-installed. Windows computers typically do not include Python by default, though you can get it from the Microsoft Store or from python.org.

The Python community also maintains package repositories. The Python Package Index (PyPI) is like an app store for Python tools and libraries. Developers around the world share their code through PyPI, making specialized tools available for tasks ranging from web development to data analysis. Most of these tools are free to use as well.

Practical Takeaway: Start with Python 3 from python.org, verify you have a recent version (3.10 or newer), and know that Python is completely free with no hidden costs or subscriptions required.

Step-by-Step Instructions for Different Operating Systems

The process for obtaining Python differs slightly depending on whether you use Windows, Mac, or Linux. Each operating system handles files and installations in different ways.

For Windows users: Visit python.org and locate the Downloads section. Click the button that says "Download Python" with the latest version number. This gives you an installer file (a .exe file). Once the file finishes getting onto your computer, double-click it to open the installer. An important step occurs at the beginning of the installation wizard: check the box that says "Add Python to PATH." This allows your computer to find Python when you type commands. Then click "Install Now" and let the installation complete. After it finishes, open the Command Prompt (search for "cmd" on your computer) and type "python --version" to verify the installation worked correctly.

For Mac users: Python comes pre-installed on most Macs, but it's usually an older version. Visit python.org and get the macOS installer appropriate for your Mac. If you have an Apple Silicon Mac (M1 or M2 chip), choose the ARM64 version. If you have an older Intel-based Mac, choose the Intel version. Run the installer file and follow the prompts. After installation, open Terminal (find it in Applications > Utilities) and type "python3 --version" to check what you have. Note that on Mac, you typically type "python3" instead of "python" to run version 3.

For Linux users: Most Linux distributions include Python already. Open your terminal and type "python3 --version" to see what's installed. If you need a newer version, your Linux distribution likely has Python in its package manager. For Ubuntu or Debian-based systems, use "sudo apt-get install python3" followed by the version number if needed. For Fedora or Red Hat systems, use "sudo dnf install python3."

After installation, you can verify everything works by creating a small test program. Open a text editor, type the following three lines exactly as shown, and save the file with a .py extension (for example, "test.py"):

  • name = "Python"
  • version = 3.12
  • print(f"Learning {name} version {version}")

Then open your terminal or command prompt, navigate to where you saved the file, and type "python test.py" (or "python3 test.py" on Mac/Linux). If the program runs and displays text, Python is working correctly on your computer.

Practical Takeaway: Follow the operating system-specific instructions carefully, paying special attention to adding Python to your PATH on Windows and using "python3" on Mac/Linux systems to ensure proper functionality.

Understanding Python Tools and Environments

Once Python is on your computer, you need a way to write and run code. At minimum, you can use any basic text editor and your system's terminal or command prompt. However, specialized tools make writing Python much more practical and prevent errors.

An Integrated Development Environment (IDE) is software that combines a text editor, tools for running code, and features that help you write better programs. Several free options exist. Visual Studio Code is a lightweight editor made by Microsoft that works well for Python and includes helpful extensions. PyCharm Community Edition is a full IDE specifically designed for Python and is completely free for personal use. IDLE is a simple IDE included with Python when you get it from python.org—it's minimal but useful for beginners.

Virtual environments are another important concept. A virtual environment is like a separate workspace on your computer where you can organize different Python projects independently. Think of it like having separate folders where each folder has its own set of tools and libraries. This prevents conflicts when different projects need different versions of the same library. Python includes a tool called venv that lets you create virtual environments. To make one, open your terminal and type "python -m venv project_name" where project_name is whatever you want to call it.

Package managers help you install tools created by other people. The most common package manager for Python is called pip. When you obtain Python from python.org, pip is included automatically. You use pip by typing commands like "pip install requests" (if you wanted to install a tool called requests). The Python Package Index currently lists over 500,000 packages available through pip, covering nearly every type of task you might want Python to do.

Version control systems like Git let you track changes to your code over time. Many people use GitHub, a website where developers store and share their code. These aren't strictly necessary to start learning Python, but they become important as projects grow more complex. GitHub offers free accounts and free storage for public

🥝

More guides on the way

Browse our full collection of free guides on topics that matter.

Browse All Guides →