Your download link is at the very bottom of the page... always.

Processed through Paypal
No account required.

Donate Bitcoin to this wallet:
Donate Ethereum to this wallet:
Donate Litecoin to this wallet:

Buy our over-priced crap to help keep things running.

Join our Facebook groupFollow us on TwitterFollow us on InstagramOur RSS FeedJoin us on TikTokJoin us on LinkedIn

 Home » Freeware Downloads » Programming, Coding & Software Development » Thonny v4.0.2   
File - Download Thonny v4.0.2

Always scroll to the bottom of the page for the download link.
We don't believe in fake/misleading download buttons and tricks. The link is always in the same place.

Thonny v4.0.2

A Python IDE meant for learning programming.


Easy to get started. Thonny comes with Python 3.7 built in, so just one simple installer is needed and you're ready to learn programming. (You can also use a separate Python installation, if necessary.) The initial user interface is stripped of all features that may distract beginners.

No-hassle variables. Once you're done with hello-worlds, select View → Variables and see how your programs and shell commands affect Python variables.

Simple debugger. Just press Ctrl+F5 instead of F5 and you can run your programs step-by-step, no breakpoints needed. Press F6 for a big step and F7 for a small step. Steps follow program structure, not just code lines.

Step through expression evaluation. If you use small steps, then you can even see how Python evaluates your expressions. You can think of this light-blue box as a piece of paper where Python replaces subexpressions with their values, piece-by-piece.

Faithful representation of function calls. Stepping into a function call opens a new window with separate local variables table and code pointer. Good understanding of how function calls work is especially important for understanding recursion.

Highlights syntax errors. Unclosed quotes and parentheses are the most common beginners' syntax errors. Thonny's editor makes these easy to spot.

Explains scopes. Highlighting variable occurrences reminds you that the same name doesn't always mean the same variable and helps spotting typos. Local variables are visually distinguished from globals.

Mode for explaining references. Variables are initially presented according to simplified model (name → value) but you can switch to more realistic model (name → address/id → value).

Code completion. Students can explore APIs with the help of code completion.

Beginner friendly system shell. Select Tools → Open system shell to install extra packages or learn handling Python on command line. PATH and conflicts with other Python interpreters are taken care of by Thonny.

Simple and clean pip GUI. Select Tools → Manage packages for even easier installation of 3rd party packages.

Main development of Thonny took place in Institute of Computer Science of University of Tartu, Estonia.

4.0.2 is mainly a bug-fix release.
Fix Mypy logging error in the Assistant, #2491 by @kr-g and @solsword
Fix AttributeError on save, #2454
Add Thonny version as environment value for user programs, #2494 by @kr-g
Make __file__ contain absolute path, #2497
Start SSH preparation command with space to avoid adding it to shell history, #2563 by @isaacl
Bump pipkin version to 1.0b8 and fix various bugs with MicroPython package installation, including not being able to update a package (#2555)
Restore Find/Replace dialog close button and non-dialog behavior, #2461, #2550
Make Find/Replace dialog non-modal again, #2550
Fix Find/Replace seeding, #2356, #2550
Restore focus after using file dialogs, #2501
Don't remove stacktrace links after closing the process, #2471
Never clear shell when Stop/Restart is used for stopping a process, #2456
Treat .toml, .gitignore and .env as text files
Fix expression box glitch (lower frame box remaining visible) when debugging on macOS
Ignore disk flushing errors in the end of UF2 installation
Make port finding in the end of UF2 installation process more robust
Don't enable variant and version selection in UF2 dialog before variants get downloaded
Add Vietnamese translation, by Bui Huy Quang
Update several translations
Fix the name for Slowenian, #2611
Update several deps in Thonny + Python bundles (asttokens, mypy, pylint, esptool, paramiko)


Default Windows installer (thonny-4.0.2.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.0.2.exe which comes with 32-bit Python 3.8.

Windows installers have been signed with a new certificate which hasn't built up its reputation yet! You may need to click through your browser warnings (choose "Keep" instead of "Discard" in Chrome) and Windows Defender warning (More info => Run anyway).

thonny-4.0.2.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.

thonny-4.0.2.bash is a script, which downloads and installs thonny-4.0.2-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

This download is for the Windows installer. All other download assets are below:



thonny-4.0.2.bash (right-click and save link)

Click here to visit the author's website.
Continue below to download this file.

Downloads Views Developer Last Update Version Size Type Rank
3,809 7,341 University of Tartu, Estonia <img src=""border="0"> Jan 26, 2023 - 13:18 4.0.2 20.51MB EXE 5/5, out of 24 Votes.
File Tags
Thonny  v4.0.2  
Whoa! Slow down there, Speedy.
Read this and then continue to download below.

Like seeing no ads? No misleading/fake download buttons?
We like it too! This site has been kept alive for 15 years
because of people just like you who download and donate.
No one is stopping you from downloading without donating
but the site runs on the "Honor System". If your momma
raised you to be honorable, make a donation and download
'til ya turn blue. Make your momma proud!

Thank you! -Randy & Deanna (The Older Geeks)

Monthly operating costs = $750
Donations cover operating costs,
are set aside for future upgrades and/or
handed-over to Deanna for new shoes.

Donate through Paypal

Donate through Stripe

Just send a check to our computer store payable to Home Computer Repair LLC.
Our address: Home Computer Repair LLC, 208 E. Water St. Mount Vernon, MO 65712

Recent Super Donors ($50+)
Thanks, Michael
Thanks, Walter
Thanks, Erik
Thanks, Robert

Recent Donors
Thanks, Sande
Thanks, Steven
Thanks, Robert
Thanks, Graham
Thanks, Alvin
Thanks, David
Thanks, DJ's Woodworks
Thanks, Alan
Thanks, Shawn
Thanks, Donald

   →→ Download Now ←← - Click to Rate File -
Like this download? Share it on Twitter → Copyright (c) 2023