https://thonny.org Fork me on GitHub Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! Download version 4.0.1 for Windows Official downloads for Windows Installer with 64-bit Python 3.10, requires 64-bit Windows 8.1 / 10 / 11 thonny-4.0.1.exe (20.4 MB) Installer with 32-bit Python 3.8, suitable for all Windows versions since 7 thonny-py38-4.0.1.exe (18.9 MB) NB! The installers have been signed with a new certificate which hasn't built up its reputation yet. You may need to click through your browser warning (e.g. choose "Keep" instead of "Discard" in Chrome) and Windows Defender warning (More info = Run anyway). Portable variant with 64-bit Python 3.10 thonny-4.0.1-windows-portable.zip (30.5 MB) Portable variant with 32-bit Python 3.8 thonny-py38-4.0.1-windows-portable.zip (28.6 MB) Re-using an existing Python installation (for advanced users) pip install thonny * Mac Official downloads for macOS Installer with Python 3.10 (universal2) Download thonny-4.0.1.pkg (44.3 MB) icon Re-using an existing Python installation (for advanced users) pip install thonny ----------------------------------------------------------- 3rd party distributions (may have older version) Downloading and launching the installer with Homebrew brew install thonny * Linux Official downloads for Linux Installer (installs private Python 3.10 on x86_64, uses existing python3 elsewhere) bash <(wget -O - https://thonny.org/installer-for-linux) Re-using an existing Python installation (for advanced users) pip3 install thonny ----------------------------------------------------------- 3rd party distributions (may have older version) Flatpak flatpak install org.thonny.Thonny Debian, Raspbian, Ubuntu, Mint and others sudo apt install thonny Fedora sudo dnf install thonny Thonny Python IDE for beginners Main screenshot Features Easy to get started. Thonny comes with Python 3.10 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 layout 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 table variables. Simple debugger. Just press Ctrl+F5 instead of F5 and you can run your programs step-by-step, no Stepping breakpoints needed. Press F6 for a big step and F7 through for a small step. Steps follow program structure, not statements just code lines. Step through expression evaluation. If you use small steps, then you can even see how Python evaluates Visualization your expressions. You can think of this light-blue of expression box as a piece of paper where Python replaces evaluation 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 Visualization understanding of how function calls work is of call frames especially important for understanding recursion. Highlights syntax errors. Unclosed quotes and Visualization parentheses are the most common beginners' syntax of syntax errors. Thonny's editor makes these easy to spot. errors Explains scopes. Highlighting variable occurrences Local and reminds you that the same name doesn't always mean global names the same variable and helps spotting typos. Local are visually variables are visually distinguished from globals. distinguished Mode for explaining references. Variables are initially presented according to simplified model Variables table (name - value) but you can switch to more realistic vs values table model (name - address/id - value). Code completion. Students can explore APIs with the help of code completion. Code completion Beginner friendly system shell. Select Tools - Open system shell to install extra packages or learn System shell handling Python on command line. PATH and conflicts prepared for with other Python interpreters are taken care of by Python commands Thonny. Simple and clean pip GUI. Select Tools - Manage System shell packages for even easier installation of 3rd party prepared for packages. Python commands Demo [thonny_you] Credits [unitartu60] From 2014 to 2018 the main development of Thonny took place in Institute of Computer Science of University of Tartu, Estonia. [cybernetica] Since September 2018 development of Thonny is partially supported by Cybernetica AS. [raspberryp] Development of several features in Thonny 3.0 and 3.3 was proposed and supported by Raspberry Pi Foundation. We are also grateful for the help of several contributors from the open-source community around the world. Instructions & downloads * Installation instructions + for Windows + for Mac + for Linux + pip install thonny * FAQ * Wiki Latest stable releases are linked in the download box at the top of this page. Older releases and prereleases can be found at https:// github.com/thonny/thonny/releases Plug-ins Thonny has simple infrastructure for extensions. These are some known Thonny plug-ins: * thonny-gitonic adds a command for opening gitonic * [S:thonny-black-format:S] (abandoned) * thonny-black-formatter adds a command for formatting current file with Black * thonny-ev3dev allows uploading code to EV3 (and much more) * thonny-error-explainer extends Assistant with new error checkers * thonny-lahendus allows loading exercises from lahendus.ut.ee and submitting solutions for automatic assessment. * thonny-edison allows uploading Python code to Edison educational robot * thonny-dracula adds Dracula syntax theme. * thonny-onedark adds One Dark syntax theme. * thonny-crosshair adds commands for invoking CrossHair analyzer. * thonny-icontract-hypothesis adds commands for invoking icontract-hypothesis analyzer. * thonny-py5mode adds py5 support for a Processing-like creative coding environment. * ThonnyFlake8 adds warnings from flake8. Note that Thonny developers are neither endorsing nor responsible for these plug-ins! Contact & News * Changelog * Forum / mailing list * Issues * Facebook page * Twitter page Papers * Thonny, a Python IDE for learning programming (poster paper at ITiCSE'15) * Introducing Thonny, a Python IDE for learning programming (short paper at Koli Calling'15)