Installing Python and Development Tools

1. Installing Python

1️⃣ Visit the official Python website: https://www.python.org/ and download the Windows version of Python.

Installing Python and Development Tools

For the Windows installation, I downloaded Python 3.13.7. Click to download ⏬ and save the file to your desired path (I saved it to D:\py).

Installing Python and Development Tools

2️⃣ After the download is complete, double-click the python-3.13.7-amd64.exe file to start the installation.

Installing Python and Development Tools

3️⃣ Check the box for “Add Python to PATH”. 4️⃣ Choose “Install Now” or a custom installation path. 5️⃣ After installation is complete, press Win+R, type cmd, and hit OK.

Installing Python and Development Tools

Type python in the command line, and if the following image appears, it indicates that Python has been successfully installed.

Installing Python and Development Tools

——————————- This is the dividing line ———————

2. Next, you need to install development tools 🛠️

1️⃣ To install the PyCharm tool, visit the official website: https://www.jetbrains.com/pycharm/download/

Installing Python and Development Tools

Download the corresponding .exe for Windows. After downloading, double-click the .exe file to install. Once installed, a PC icon will appear on the desktop.

Installing Python and Development ToolsInstalling Python and Development Tools

2️⃣ Open PyCharm and create a new project.

Installing Python and Development Tools

Create a folder for categorization.

Installing Python and Development Tools

Right-click to create a new Python file.

Installing Python and Development Tools

Name it test.

Installing Python and Development Tools

3️⃣ Write a simple Python statement: print('hello world'). Right-click to run test.

Installing Python and Development Tools

The output window will display hello world.

Installing Python and Development Tools

Congratulations! You have completed your first line of Python code!

Leave a Comment