You need two things to learn how to program in Python: A code editor and the correct version of Python for your operating system.
The text editor can be any basic text editor such as the Notepad application that comes with Windows. To make things even easier when you get started with Python, use an editor like Notepad++, which has additional features like syntax highlighting or autocomplete. For a list of recommended solutions for Windows macOS, Linux or Android, see our article on the best code editors.
You can download the version you need from the download center of the official Python website. Here you’ll find executable files, packaged source files or docker images for different operating systems. You can choose from packages for Windows, macOS and Linux as well as packages for iOS, Solaris and IBM i (formerly OS/400). If you’re just starting out with Python, we recommend downloading the latest version. You can also download several older versions going all the way back to the binary files of Python 1.1.