There are so many different Python editors available. As a Computer Science teacher you want an IDE (Integrated Development Environment) to be your student’s friend and aid in there understanding of “What’s really going on behind with my code?”. I use Eclipse with my senior students as they have previous experience, but a first IDE should be simple to use yet flexible to dig a bit to see the bits behind the code. Thonny fits the bill.
Best Python IDE for Beginners - Thonny. A comprehensive Raspberry Pi IDE, Thonny is a beginner-friendly Python development app. While Python experts can use Thonny, various touches posit this IDE. And now here we have Thonny ready to start programming. Installing Thonny on a Mac using pip. 01:58 So here in the Terminal window, it’s possible to install Thonny using pip3 install thonny. Pip will download all the relevant frameworks and Thonny itself and then install Thonny. It can be run just by typing thonny. Bill was using Thonny, a Python IDE that is popular in the education community. Thonny was introduced in 2015 by Aivar Annamaa of the University of Tartu in Estonia.
I knew that Thonny was installed by default on Raspberry Pi distributions, but I never thought of trying it out on Windows. A recent discussion on our ACSE educator forum pointed me to dig deeper and I am impressed. Thonny is described as the Python editor for beginners, but if you turn on some of the view
My current Python IDE in the classroom is the no charge version of Wing IDE. It has a debugger and decent user interface for novice coders. When we use Micro:bits or Pygame Zero we fire up Mu instead. Why Mu?
- Using Mu with Micro:bits simplifies the transfer and flashing of .HEX files and the interactive plotting feature is very slick when you connect it to the accelerometer.
- Using Mu with Pygame Zero has a nice simple location for images for your Actor objects (Sprites – graphics files) and a simple Play and Stop interface for testing.
Let’s turn back to Thonny and take a look at a common scenario.
Who encounters these types of syntax errors? Everyone!!
The Python Shell spits out a SyntaxError and points to line 9. The Thonny assistant says he you probably have unbalance parentheses, brackets or braces in line 8. Which message is better? Very cool!
The debugger is awesome as it slowly expands the source code to demonstrate what is happening step by step.
You can easily add new packages by clicking on tools. I added pygame zero and others with no problems.
How To Download Thonny
I also found a feature that let’s you toggle to pgzero mode which worked perfectly.
Did I also mention that when you download Thonny and install it the Python 3.7 environment is included?
I think I have found my next IDE for novice Python coders. The debugger is like having a Python visualizer built in and the assistant can really help students find their errors and learn from them.
Thonny Python Ide Download Windows
Just to add a final “wow factor” – turn on the plotter option and write a small Python program and ask your students to explain why the maximum value of y is 2 ?Latest version
A plugin to format your python code with Black in Thonny IDE.
Automatically format your python code with Black!
- This can be easily installed via Thonny. Go to
Tools -> Manage plug-ins..., type
thonny-black-formatand click on
Find package from PyPI. Install the plugin and restart Thonny.
- Alternatively, you can install via pip with
pip install --user thonny-black-format
There are two ways to run the plugin:
- Go to
Tools -> Format with Black
All changes will be automatically saved. If you prefer, you can undo them.
Contributions are welcome! Feel free to sumbit an issue and/or a pull request.
Release historyRelease notifications RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size thonny_black_format-0.0.4-py3-none-any.whl (4.7 kB)||File type Wheel||Python version py3||Upload date||Hashes|
|Filename, size thonny-black-format-0.0.4.tar.gz (3.5 kB)||File type Source||Python version None||Upload date||Hashes|
Hashes for thonny_black_format-0.0.4-py3-none-any.whl
Hashes for thonny-black-format-0.0.4.tar.gz