Your "programming environment" is the computer you do your work on, and all the software that is installed on your computer that helps you write and run programs. Some systems are better for programming than others, but the best system to learn on is probably the one you are using right now. This section will help you get a system set up that will let you start writing programs quickly.
Our goal is to help you get Python up and running on your computer, so that you can write and run your own programs. To do this, we want to:
We are going to be mostly objective about which system you might want to consider using as you begin to learn Python, but we will also be free to share a bit of opinion on the matter. We will be objective by being open about the strengths and weaknesses of each system. We will be opinionated by letting you know what some good programmers use, and why they use it.
If you don't already have a favorite text editor for programming, we are going to use Geany. Geany is cross-platform, and makes it easy to write and run your first programs. There are better editors for professional programmers, but you want to spend your time learning to program, not learning how to use an editor. Unless you have a good reason to use another editor, go ahead and install Geany on your system.
If you already know that you would like to take programming seriously, you might want to consider learning to use Linux. The people who build Linux expect you to program at some point, so they have built the system to make it as easy as possible to get started.
Most Linux systems already have Python installed, so we will just verify that it is installed, and then install Geany.
If you go to a Python conference or meetup, you are likely to see more Macbooks than any other computer. So Macs are certainly a good platform on which to learn Python. Many of the people you see using Macbooks are actually running some flavor of Linux on their Mac, and running Python within a virtual Linux machine. You don't have to worry about that yet, just know that if you continue to grow as a programmer your Mac will probably continue to serve you quite well.
Python is probably already installed on your Mac, so we will just verify that it is installed, and then install Geany.
I don't have a Mac at hand, but a dedicated Mac section will be added shortly.
Python does not come pre-installed on most Windows computers, but you can download an installer that will set Python up for you. Once you have Python installed and running, it's pretty straightforward to install Geany, and then configure it to run Python programs.