When you program in Python, a good tool can make a big difference in your productivity. An IDE (Integrated Development Environment) or a code editor combines several tools in one place: editor with syntax highlighting, code completion, error detection, debugger and a terminal to run your programs.
Popular options
IDLE
It is included with the official Python installation. It is very simple, so it is a good option to take your first steps without installing anything else.
Visual Studio Code
A free, lightweight and very popular editor. With the official Python extension you get completion, debugging, virtual environments and Jupyter notebooks. It is a great choice for beginners and professionals.
PyCharm
The IDE from JetBrains dedicated to Python. The *Community* edition is free and the *Professional* edition adds support for web frameworks and databases. It has excellent refactoring and debugging tools.
Thonny
An IDE designed for people who are learning. It has a very clean interface and a debugger that shows step by step how each line is executed.
Jupyter Notebook / JupyterLab
Documents that mix code, results and explanations. They are widely used in data science and teaching.
Spyder
A scientific environment similar to MATLAB, with a variable explorer, very useful for data analysis.
Which one should I choose?
- If you are starting from scratch: Thonny or IDLE.
- For general programming: Visual Studio Code or PyCharm Community.
- For data analysis: Jupyter or Spyder.
The best IDE is the one that you feel comfortable with. All of them let you run the exercises of this course.