About this course
In 90% of cases, I’m using the out-of-the-box IDLE editor to write small scripts and Python programs. It’s lightweight, simple, and provides basic functionality such as syntax highlighting in shell and Python files.
To use IDLE, simply install Python and type “IDLE” into your operating system search bar. This should work for Linux, Mac, and Windows operating systems.
You can use an interactive session where the Python interpreter executes all your commands directly. Or you can create a new file with “.py” suffix to indicate that it’s a Python file — and execute the Python file at once simply by running the code.
I know that many coders prefer other editors such as PyCharm. But I would recommend PyCharm only if you have larger projects with multiple Python files. As Python is a scripting language, it really depends on the application scenario whether I would use PyCharm or IDLE.
Of course there are lots of other great editors. For scientific computing and data science, I recommend that you check out the Spyder editor which ships with the Anaconda framework .