Using offline IDEs for MicroPython
Python programs can also be written and executed with the help of specialized software known as IDEs. The reference implementation of Python (CPython) comes with an IDE known as IDLE. The following is a screenshot of IDLE in action (Figure 2.12) on a Windows computer:
Figure 2.12 – IDLE in action
There is no doubt that IDLE has a great interface. However, it works with CPython and not with MicroPython. We have already seen how we can work with web editors for MicroPython. In this section, we will explore a few desktop IDEs for MicroPython.
The Thonny Python IDE
Let’s go over how to install and use the Thonny Python IDE. We can visit https://thonny.org/ for the installation files. In the top-right corner of the page, we have options for Windows, macOS, and commands for installation on distributions of Linux. Thonny comes bundled with a Python interpreter of its own. It may not conform to the latest CPython...