Before you use Python, you must install it first on your computer's operating system. Currently Python has the latest stable version which is Python 3.13. Here we will learn the Python programming language using this latest version.
Installing Python is very easy, follow the guide below. Below is a guide on how to install Python on Linux, Windows, and Mac OS platforms.
Linux
- Open browser, visit Python download page
- Download the latest version of Python in zip file format for Unix/Linux
- Extract the zip file you just downloaded
- Edit the Modules/Setup file if you want Python customization
- Run
./configurescript makemake install
This step will install Python in the standard location /usr/local/bin and libraries in /usr/local/lib/pythonXX where XX is the latest version of Python you are using.
For some distributions (distros) of Linux operating systems, Python is already installed in it. So you don't need to install it again.
Windows
- Open browser, visit Python download page for Windows
- Download Python 3.13 installer (choose 64-bit version for Windows)
- Open (double click) the python installer file you just downloaded
- Follow installation steps until finished
Mac OS
- Open browser, visit Python download page for Mac
- Download the latest version of Python for Macintosh
- Open the file you just downloaded
- Follow installation steps until finished
Gabung Komunitas Developer & Kreator Digital
Dapatkan teman coding, sharing project, networking dengan expert, dan update teknologi terbaru.
Selamat! Anda telah sukses mendaftar di newsletter.