As i said in the previous lesson, Python comes with his ows interpreter, called IDLE. It's a GUI( Graphical User Interface) and more fun than the cmd window.
To run IDLE, go in your Start Menu and type IDLE. This works same as the cmd window, but your have more options here, you can save, print, edit, modify, the text is coloured to understand more every component, error.
If you type 2+2, you'll get the same result as in cmd window, but more friendly. If you type print("Hello Publish0x"), you' ll get the same result, but more coloured. If you have an error, is more easier to identify it.
But, don't worry, this is not the only editor for Python, there are more, for every operating system. In our case, for windows you can use Sublime Text 3, Notepad ++, PyCharm Edu, W3School online interpreter, etc.
I personally use PyCharm, Student edition and it's free and have the most basic stuff that you need.
Looks complicated, but is not at all, if you use only what you need and you can research it in time, to discover more options and features.
Why i use PyCharm? Because i like the ideea to "keep the code clean", meaning that i like to keep all my codes and files in a single place, not to start to search folders in my computer to find a file. Here i have all grouped in files, always at my left hand, you can work on n projects in the same time, etc. Also, it has an option to import any module you want or part of it. You can do this straight from the code, but why to do this to slow down? For me is like a table with keys, all grouped nicely and when i want one, i just pick it from there.
This was the idea of van Rossum too, to keep the code clean, to be easy and fun for everybody. :p
Important!! If you suddenly have a brilliant idea and you code in a text file, don't forget to save it in .py extension. So you can run it with Python.
And, this is how my PyCharm looks like. :)
There are also editors and interpreters for mobiles, like QPython3, Pydroid3, DroidEdit, SL4A. Always choose the ones that does not require an internet connection and can run offline.
The best interpreter for you, is the one that fits you better. Even i recommend x or y, if you like z more, than you should choose z. And maybe in time, you'll build one that fits you better.
Maybe this looks boring for you, but the base is important. In the next lesson, i'll talk about the rules of Python, before getting into the real programming. This is only the warm-up, we'll have a lot of time to dance, later! :)
See you in the next lesson,