Version 4.0.2
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Installation instructions
Windows
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.
NB! 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).
macOS
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.
Linux
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).
Changes since 4.0.1
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)
Version 4.0.1
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Installation instructions
Windows
Default Windows installer (thonny-4.0.1.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.1.exe which comes with 32-bit Python 3.8.
NB! 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).
macOS
thonny-4.0.1.pkg contains universal2 build of Python 3.10 — this means it is suitable both for Arm (M1, M2) and Intel Macs.
Linux
thonny-4.0.1.bash is a script, which downloads and installs thonny-4.0.1-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).
Changes since 4.0.0
4.0.1 is mainly a bug-fix release.
- Fix error when running script with closed Shell, #2412
- Fix error with programs calling
exit
(more robust handing of closing the back-end process), #1786, #2433, #2423 - Fix blank editor after switching tabs on macOS, #2425
- Instruct saving the program before debugging, #2415
- Fix find not highlighting selected result in block comments, #2407
- Fix new file creation error, #2406
- Fix Choice Dialog closing with ESC, #2406
- Fix the error when invoking Python’s
help
function, #2435 - Fall back to killing current process when running and interrupt doesn’t work, #2420
- Don’t close the backend process when interrupting at idle prompt, #2422
- Fix Windows 11 version in About dialog, #2406
- Fix outdated test, #2413
- Make the Mac installer more compatible with Arm, #2409
- Allow downloading latest unstable MicroPython builds, #2408
- Allow new file command for remote file browser
- Update Estonian, German and Chinese (TW) translations
Version 4.0.0
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Installation instructions
Windows
Default Windows installer (thonny-4.0.0.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.0.exe which comes with 32-bit Python 3.8.
NB! 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).
macOS
thonny-4.0.0.pkg contains universal2 build of Python 3.10 — this means it is suitable both for Arm (M1, M2) and Intel Macs.
Linux
thonny-4.0.0.bash is a script, which downloads and installs thonny-4.0.0-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).
Changes since 3.3.13
Breaking changes
- Drop support for Python 3.5, 3.6 and 3.7
- Require single click for toggling a breakpoint, #2293
- Clear Shell before starting new process (Run, Debug, Stop/Restart, …) by default. Can be turned off in Tools => Options => Shell, #1681
- Rename «Python 3» back-end to «Local Python 3»
- Don’t SetProcessDpiAwareness for user programs anymore. This means for example, that Tkinter and Pygame programs on Windows run as if they were executed with plain Python (ie they may become blurry on modern displays). For clear picture, start your program with
import ctypes; ctypes.OleDLL("shcore").SetProcessDpiAwareness(1)
, #2159 - Drop support for
jedi
versions below 0.18.1
Distribution
- Upgrade bundled Python to 3.10
- The main Windows bundle is now 64-bit. For fallback publish 32-bit bundle with Python 3.8 for 32-bit Windows 10 and 8.1 and all variants of Windows 7 and 8.
- Mac bundle now comes with the universal2 build of Python
- Stop publishing 32-bit Linux bundles.
- Enhance Linux installer script (the .bash-file) to create a venv and pip-install Thonny if run on a platform for which there is no binary bundle available. This means you can now use Linux installer also on Raspberry Pi, #1736
Code completion and analysis
- Add the option for automatically getting completions while typing (Tools => Options => Editor)
- Selecting a completion with Tab now replaces the name suffix right of the cursor, #1998
- Turn off requesting completions with Tab in editors by default, #2069
- Show documentation for the selected completion with another Ctrl-Space or automatically (Tools => Options => Editor)
- Add «call-tips» — a box describing the formal parameters of current method call. Invoke manually with Ctrl-Shift-Space or automatically after typing open parentheses (Tools => Options => Editor)
- Enhance Go-to-definition (Ctrl-click). The name is now underlined while ctrl-hovering over it.
MicroPython / CircuitPython
- Add LEGO® EV3 back-end: «Run => Select interpreter => MicroPython (EV3)»
- Support CircuitPython with micro:bit, #2251
- Use pipkin for managing packages on MicroPython and CircuitPython devices. This enables proper listing of packages together with version info and proper uninstallation.
- Use
.local_rtc
config parameters instead of (oppositely worded).utc_clock
in MicroPython back-ends, 116aecd - Present MicroPython time options (whether to sync time and whether to use local time) in back-end configuration page, #1638
- Automatically interrupt current process when connecting to bare-metal MicroPython or CircuitPython device. This can be turned off at device’s settings page, #2059
- Don’t hide the output when Stop/Restarting MicroPython, #1805
- Make internal MicroPython errors less intimidating. In several cases the errors are caused by bugs in MicroPython or USB driver and there is no use of showing the stacktrace. User is now directed to restart the device and stacktrace can be checked from the backend.log, #1799
- Make MicroPython back-end advise Ctrl+C also if only whitespace characters get printed, #1755
- Allow running MicroPython scripts without soft-rebooting first, #1565, #1716
- Add generic «MicroPython (RP2040)» back-end in addition to the more specific «MicroPython (Raspberry Pi Pico)», #2151
- Mention the possibility to reconfigure file types when denying opening remote files in a system app, #2148
- Refactor MicroPython/CircuitPython flashing dialog, #2344
- Add separate «Install …» items to the back-end switcher menu if a device in UF2 bootloader mode is detected, #2387
- Use «Install MicroPython» instead of «Install firmware», #2364
- Take OSC commands into account when looking for prompts (relevant for CircuitPython 8), #2349
- Disable «Run» command when MicroPython device is disconnected
- Update completion stubs for MicroPython and CircuitPython (from @hlovatt and @adafruit)
- Make Shell read-only when device is disconnected
- Fix various problems with managing files on CircuitPython devices
- Don’t assume all CircuitPython boards have RTC, #1760
- Fix error with evaluating
globals()
on MicroPython device, #1938 - Add MicrobitImage inspector for Object inspector
Various enhancements
- Add TODO view (by @kr-g), #2067
- Add possibility to activate a virtual environment via Files view (by @kr-g), #2381
- Add new toolbar button which opens the wiki page describing ways to help Ukraine survive the attack from Russia.
- Allow running content of untitled editors without saving, #778
- Make stacktrace links to
<stdin>
and<input>
pseudo-files go to the editor containing corresponding source, #778 - Ask confirmation for adding .py extension when the user saves the file without any extension to MicroPython/CircuitPython device, #2077
- Don’t add the .py extension when the user saves a local file and selects «All files» filter.
- Add Cut/Copy/Paste to the file browser, #2001 by @kr-g
- Make editor remember current line when reloading external changes, #2001 by @kr-g
- Add «Edit => Go to line…» command (Ctrl-G), #2001 by @kr-g
- Add «Rename» command for the local file browser, #2001 by @kr-g
- Add nicer Stop-button for higher resolutions, #1445 by @speedy-10
- Improve icon scaling — use larger icons when Treeview row height is larger than
general.large_icon_rowheight_threshold
- Use default font in Treeviews (including Files and Variables view). Therefore Treeview’s font size is now affected by the scaling factor and is not affected by editor font size.
- Use isolated mode for launching Thonny. This includes hiding user-site packages from Thonny’s GUI process (not from user programs). Plug-ins now get installed under Thonny’s data folder, #2038, #1651
- Allow installing packages for remote CPython backend, #1319
- Flatten the list of interpreters in the backend-switcher menu (lower-right corner of the main window)
- Removed previously deprecated «A special virtual environment». Use regular virtual environments instead.
- Merge «The same interpreter which runs Thonny» and «Alternative Python 3 interpreter or virtual environment» back-ends into «Local Python 3»
- Back-end switcher now remembers several configurations for remote CPython and MicroPython.
- Make package manager work for remote Python 3 (SSH)
- Fix «Seed find/replace with currently-selected text» for Linux, #2356
- Use «vista» Tk-theme instead of «xpnative» in Windows. Gives nicer combobox, #1663
- Automatically reload saved files after external modification (with help from @kr-g), #1589, #1455, #1968
- Support OSC sequences for setting terminal title, #2369
- Toggle hidden files also via file-browser’s context menu, #1039
- Seed find/replace with currently-selected text, #2356
- Add coloring for
match
andcase
soft keywords, #2358 - Add Slovenian translation (by cspaier)
- Add «Assistant» help page explaining the possibility to omit selected Pylint checks, #1978
- Add command «Run => Visualize current script at Python Tutor», #2242
- Add options for automatically making uploaded or saved shebang scripts executable (includes changing Windows line breaks to Unix ones). See «Editor» and SSH-backends’ config pages.
- Allow back-end plugins to modify sys.path, #2281
- Warn when environment value is provided with quotes, #2184
- Let macOS installer know the bundle is able to run in arm64 mode, #2201
- Add Tamil translation, by Kamala Kannan K and அனிச்பிரபு தி, #2211
- Add Thai translation, by Tomzt Pimai and Game of
- Allow assigning Python coloring for Python-like files, #1927
Various fixes
- Fix issues with printouts containing more than 999 lines, #2118, #1646
- Fall back to default theme when used 3rd party theme gets uninstalled, #2117
- Fix problem with Files hamburger menu when nothing is selected, #2101
- Fix Windows version detection in «Tools => Open system shell», #1961
- Make sure Thonny’s dialogs are treated as dialogs in macOS and Linux, #1790
- Don’t issue two Ctrl+C-s too quickly in row when interrupting MicroPython process, in order to give time for finally-blocks to clean up, #1757
- Fix asm_pio error when working in with RP-pico in shell mode, #1718
- Fix the crash when scripts longer than 4KB are sent to Python 3 SSH back-end, #1680
- Properly interrupt MicroPython code before submitting new code when using F5 while code is running, #1668
- Fix problems with full screen and split screen views in macOS, #1293, #1012
- Fix the crash when pasting certain Unicode chars to editor in macOS, #32
- Fix the crash caused by Cmd-backtick and others …
Version 4.0.0b4
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
NB! 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).
Changes and fixes since 4.0.0b3:
- CHANGED: Require single click for toggling a breakpoint, #2293
- Refactor MicroPython/CircuitPython flashing dialog, #2344
- Add TODO view (by @kr-g), #2067
- Add possibility to activate a virtual environment via Files view (by @kr-g), #2381
- Add separate «Install …» items to the back-end switcher menu if a device in UF2 bootloader mode is detected, #2387
- Automatically reload saved files after external modification (with help from @kr-g), #1589, #1455, #1968
- Add EV3 default password information to config page, #2284
- Don’t choke on relative interpreter paths, #2335
- Don’t crash when Windows network locations can’t be found, #2285
- Don’t show package extra deps even when the extra is combined with another condition
- Make paddings larger for hi-res displays
- Take OSC commands into account when looking for prompts (relevant for CircuitPython 8), #2349
- Support OSC sequences for setting terminal title, #2369
- Toggle hidden files also via file-browser’s context menu, #1039
- Use «Install MicroPython» instead of «Install firmware», #2364
- Rename «Python 3» back-end to «Local Python 3»
- Seed find/replace with currently-selected text, #2356
- Work around Pylint error (make Pylint work again), #2359
- Add coloring for
match
andcase
soft keywords, #2358 - Add Slovenian translation (by cspaier)
- Update several translations
- Fix translations with bad placeholders (by @abrarwali), #2253
Version 4.0.0b3
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Changes since 4.0.0b2:
- BREAKING: Don’t SetProcessDpiAwareness for user programs anymore. This means for example, that Tkinter and Pygame programs on Windows run as if they were executed with plain Python (ie they may become blurry on modern displays). For clear picture, start your program with
import ctypes; ctypes.OleDLL("shcore").SetProcessDpiAwareness(1)
, #2159 - Add «Assistant» help page explaining the possibility to omit selected Pylint checks, #1978
- Add command «Run => Visualize current script at Python Tutor», #2242
- Fix debugger error when importing user modules (regression introduced in 4.0.0b1), #2246
- Add options for automatically making uploaded or saved shebang scripts executable (includes changing Windows line breaks to Unix ones). See «Editor» and SSH-backends’ config pages.
- Don’t propose pythonw.exe as initial backend, #2236
- Fix error when trying to open a file from file browser with ENTER, #1785
- Fix support for remote Python 3 over SSH (regression introduced in one of the 4.0.0 betas), #2249
- Support CircuitPython with micro:bit, #2251
- Avoid wobbling of AutomaticScrollbar, helpful report by @TooLazy0x00, #2258
- Fix problem uninstalling MicroPython packages
- Install packages without —user in portable mode, #1606
- Allow back-end plugins to modify sys.path, #2281
- Use %run instead of %Run when skipping interpreter restart, #1565
- Updated Estonian, Thai and Brazilian Portuguese translations
- EXPERIMENTAL: Add LEGO® EV3 back-end: «Run => Select interpreter => MicroPython (EV3)»
Version 4.0.0b2
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the invasion of Russian orcs. Please support Ukraine! 🇺🇦
Known issues:
- Windows bundle proposes pythonw.exe as default interpreter. This interpreter does not allow interrupting programs with Ctrl+C. It is recommend to switch to «Thonny’s Python» from the lower-right corner of the main window.
Changes since 4.0.0b1:
- Add 32-bit bundle with Python 3.8 for Windows (the main Windows bundle is now 64-bit and contains Python 3.10, which doesn’t support Windows 7)
- Fix the problem with scripts having declared encoding something else than UTF-8, #1650
- Don’t clear shell after automatic restart
- Fixes certain problems with running Flask programs, #2062
- Fix KeyError: ‘ESP32.url’ when connecting to WebREPL, #2082 (regression introduced in b1)
- Fix parameter completions where name of local variable was proposed with trailing ‘=’
- Fix error with printing (regression introduced in b1), #2233
- Fix Find & replace dialog not appearing, #2208
- Fix display of debugger frames (regression introduced in 4.0.0b1), #2216
- Warn when environment value is provided with quotes, #2184
- Let macOS installer know the bundle is able to run in arm64 mode, #2201
- Update completion stubs for MicroPython and CircuitPython (from @hlovatt and @adafruit)
- Add compatibility with Python 3.8 via Windows launcher, #2206
- Disable «Run» command when MicroPython device is disconnected
- Make Shell read-only when device is disconnected
- Fix various problems with managing files on CircuitPython devices
- Don’t assume all CircuitPython boards have RTC, #1760
- Fix error with evaluating
globals()
on MicroPython device, #1938 - Add MicrobitImage inspector for Object inspector
- Add Tamil translation, by Kamala Kannan K and அனிச்பிரபு தி, #2211
- Add Thai translation, by Tomzt Pimai and Game of
- Update translations for German, Spanish, Japanese, Slovak, Korean, Brazilian Portuguese, Albanian
Version 4.0.0b1
🇺🇦 Thonny 4 is dedicated to Ukraine fighting against the invasion of Russian army Putin’s terrorists. Please support Ukraine! 🇺🇦
4.0.0b1 is a pre-release with several new features and bugfixes. Please test to find and report the remaining (and new) bugs!
Known issues
- At least on Windows, launching Thonny fails with Python 3.8. This will be fixed in the next beta (#2206)
Changes since 3.3.13
Distribution
- Upgrade bundled Python to 3.10
- Mac bundle now comes with the unversal2 build of Python
- Drop support for Python 3.5, 3.6 and 3.7
- The main Windows bundle is now 64-bit. For fallback publish 32-bit bundle with Python 3.8 for 32-bit Windows 10 and 8.1 and all variants of Windows 7 and 8.
- Stop publishing 32-bit Linux bundles.
- Enhance Linux installer script (the .bash-file) to create a venv and pip-install Thonny if run on a platform for which there is no binary bundle available. This means you can now use Linux installer also on Raspberry Pi, #1736
Code completion and analysis
- Add the option for automatically getting completions while typing (Tools => Options => Editor)
- Selecting a completion with Tab now replaces the name suffix right of the cursor, #1998
- Turn off requesting completions with Tab in editors by default, #2069
- Show documentation for the selected completion with another Ctrl-Space or automatically (Tools => Options => Editor)
- Add «call-tips» — a box describing the formal parameters of current method call. Invoke manually with Ctrl-Shift-Space or automatically after typing open parentheses (Tools => Options => Editor)
- Enhance Go-to-definition (Ctrl-click). The name is now underlined while ctrl-hovering over it.
MicroPython
- Use pipkin for managing packages on MicroPython and CircuitPython devices. This enables proper listing of packages together with version info and proper uninstallation.
- Use
.local_rtc
config parameters instead of (oppositely worded).utc_clock
in MicroPython back-ends, 116aecd - Present MicroPython time options (whether to sync time and whether to use local time) in back-end configuration page, #1638
- Automatically interrupt current process when connecting to bare-metal MicroPython or CircuitPython device. This can be turned off at device’s settings page, #2059
- Don’t hide the output when Stop/Restarting MicroPython, #1805
- Make internal MicroPython errors less intimidating. In several cases the errors are caused by bugs in MicroPython or USB driver and there is no use of showing the stacktrace. User is now directed to restart the device and stacktrace can be checked from the backend.log, #1799
- Make MicroPython back-end advise Ctrl+C also if only whitespace characters get printed, #1755
- Allow running MicroPython scripts without soft-rebooting first, #1565, #1716
- Add generic «MicroPython (RP2040)» back-end in addition to the more specific «MicroPython (Raspberry Pi Pico)», #2151
- Mention the possibility to reconfigure file types when denying opening remote files in a system app, #2148
Various
- Add new toolbar button which opens the wiki page describing ways to help Ukraine survive the attack from Russia.
- Allow running content of untitled editors without saving, #778
- Clear Shell before starting new process (Run, Debug, Stop/Restart, …) by default. Can be turned off in Tools => Options => Shell, #1681
- Make stacktrace links to
<stdin>
and<input>
pseudo-files go to the editor containing corresponding source, #778 - Ask confirmation for adding .py extension when the user saves the file without any extension to MicroPython/CircuitPython device, #2077
- Don’t add the .py extension when the user saves a local file and selects «All files» filter.
- Add Cut/Copy/Paste to the file browser, #2001 by @kr-g
- Make editor remember current line when reloading external changes, #2001 by @kr-g
- Add «Edit => Go to line…» command (Ctrl-G), #2001 by @kr-g
- Add «Rename» command for the local file browser, #2001 by @kr-g
- Add nicer Stop-button for higher resolutions, #1445 by @speedy-10
- Improve icon scaling — use larger icons when Treeview row height is larger than
general.large_icon_rowheight_threshold
- Use default font in Treeviews (including Files and Variables view). Therefore Treeview’s font size is now affected by the scaling factor and is not affected by editor font size.
- Use isolated mode for launching Thonny. This includes hiding user-site packages from Thonny’s GUI process (not from user programs). Plug-ins now get installed under Thonny’s data folder, #2038, #1651
- Allow installing packages for remote CPython backend, #1319
- Flatten the list of interpreters in the backend-switcher menu (lower-right corner of the main window)
- Removed previously deprecated «A special virtual environment». Use regular virtual environments instead.
- Merge «The same interpreter which runs Thonny» and «Alternative Python 3 interpreter or virtual environment» back-ends into «Local Python 3»
- Back-end switcher now remembers several configurations for remote CPython and MicroPython.
- Make package manager work for remote Python 3 (SSH)
Fixes
- Fix issues with printouts containing more than 999 lines, #2118, #1646
- Fall back to default theme when used 3rd party theme gets uninstalled, #2117
- Fix problem with Files hamburger menu when nothing is selected, #2101
- Fix Windows version detection in «Tools => Open system shell», #1961
- Make sure Thonny’s dialogs are treated as dialogs in macOS and Linux, #1790
- Don’t issue two Ctrl+C-s too quickly in row when interrupting MicroPython process, in order to give time for finally-blocks to clean up, #1757
- Fix asm_pio error when working in with RP-pico in shell mode, #1718
- Fix the crash when scripts longer than 4KB are sent to Python 3 SSH back-end, #1680
- Properly interrupt MicroPython code before submitting new code when using F5 while code is running, #1668
- Use «vista» Tk-theme instead of «xpnative» in Windows. Gives nicer combobox, #1663
- Fix problems with full screen and split screen views in macOS, #1293, #1012
- Fix the crash when pasting certain Unicode chars to editor in macOS, #32
- Fix the crash caused by Cmd-backtick and others with Spanish keyboard in macOS, #886
- Fix focus issues in dialogs, #2153
- Fix automatic horizontal scrollbar not always appearing, #2169 and #659 by @jharris1993 and @lurch
- Forward SSH password to the back-end process via stdin instead of command line.
Version 3.3.14
Minor update.
- Fix problems in org.thonny.Thonny.appdata.xml
- Allow assigning Python coloring for Python-like files, #1927
- Increase the initial top coordinate of Thonny’s main window. Fixes problem of Thonny’s title bar being hidden by the system menubar, #1925
Version 3.3.13
Version 3.3.12 was a bug-fix release (not released on GitHub). Version 3.3.13 adds a small metadata update relevant (relevant only for Linux packagers).
Installation
- Windows: download and execute thonny-3.3.13.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway». NB! Windows installer has been refactored, see https://github.com/thonny/thonny/wiki/DeploymentOptions#all-users-vs-current-user-install for more info!
- macOS: download and open thonny-3.3.13.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.13.pkg may work, but if you are having problems, then try thonny-3.3.10-alt.pkg from the previous release. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux on 32-bit and 64-bit x84: download thonny-3.3.13.bash and execute it with Bash (
bash thonny-3.3.13.bash
). - All platforms: create a virtual environment, install with
pip install thonny
and run withthonny
.
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.11
- Restore syncing to localtime for RPi Pico (fixed regression introduced in 3.3.11), #1886
- Fix installing from requirements.txt in MicroPython, #1879
- Allow specifying different colors for method and function calls, by Jonathan Campbell, #1884
- Extend editor API for plug-ins (close event and content load/save hooks), by Nicolas Despres, #1891
- Fix technical errors in some translations, by Karolina Surma, #1895
- Warn when inputting non-ascii chars in MicroPython, #1911
- Fix installing for all users in Windows installer, #1119 and #1909. See https://github.com/thonny/thonny/wiki/DeploymentOptions#all-users-vs-current-user-install for more info.
- Prepare Thonny for Flatpak, by Jordan Williams, #1900 and #1912
- Update minipip to 0.1b5 in order to skip installing Blinka when installing libraries for CircuitPython
- Update Polish translation
- Update org.thonny.Thonny.appdata.xml
Version 3.3.11
This is a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.11.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.11.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.11.pkg may work, but if you are having problems, then try thonny-3.3.10-alt.pkg from the previous release. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux on 32-bit and 64-bit x84: download thonny-3.3.11.bash and execute it with Bash (
bash thonny-3.3.11.bash
). - All platforms: create a virtual environment, install with
pip install thonny
and run withthonny
.
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.10:
- Fix MicroPython management errors when user code shadows built-in names, #1856
- Fix package manager getting frozen when installing packages, #1871
- Fix problem of MicroPython package manager taking module names for distribution names, #1833
- Fix ugly error in ESP flasher dialog when esptool is not found, #1837
- Fix Tkinter error when using venv created from bundled Python, #1835
- Use 0..6 for weekday when synchronizing RTC via machine, #1868
- Make esptool auto-detect chip type, #1838
- Fix Unix MicroPython time validation (misdiagnosed time offset)
- Update dependencies in Thonny+Python bundles
- Update Spanish, Polish, Chinese (TW) translations
Project description
Thonny is a simple Python IDE with features useful for learning programming. See https://thonny.org for more info.
Project details
Download files
Download the file for your platform. If you’re not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for thonny-4.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2444aebb074bb10a72eff0076a5ed3e631243571ac2a06332bad9c58ee901d6 |
|
MD5 | b4c826a90a2f27671b555930e8ff7388 |
|
BLAKE2b-256 | 41e1a25c8a131ffda27591cf6ebbffd4057bbc5e848ffb83aaddb28828ef882e |
Close
Hashes for thonny-4.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe86803a6e80dbe574cadc71a0a9f887fa1352ced9b9c6afbd6c0f89b555c0e |
|
MD5 | 041ae66a5ef78541cabef0fe8383131d |
|
BLAKE2b-256 | 57b877002bc635ab31bc76bc2690adc1ab9a78b4d8905d851a9401d9155d0ed3 |
Each software is released under license type that can be found on program pages as well as on search or category pages. Here are the most common license types:
Freeware
Freeware programs can be downloaded used free of charge and without any time limitations. Freeware products can be used free of charge for both personal and professional (commercial use).
Open Source
Open Source software is software with source code that anyone can inspect, modify or enhance. Programs released under this license can be used at no cost for both personal and commercial purposes. There are many different open source licenses but they all must comply with the Open Source Definition — in brief: the software can be freely used, modified and shared.
Free to Play
This license is commonly used for video games and it allows users to download and play the game for free. Basically, a product is offered Free to Play (Freemium) and the user can decide if he wants to pay the money (Premium) for additional features, services, virtual or physical goods that expand the functionality of the game. In some cases, ads may be show to the users.
Demo
Demo programs have a limited functionality for free, but charge for an advanced set of features or for the removal of advertisements from the program’s interfaces. In some cases, all the functionality is disabled until the license is purchased. Demos are usually not time-limited (like Trial software) but the functionality is limited.
Trial
Trial software allows the user to evaluate the software for a limited amount of time. After that trial period (usually 15 to 90 days) the user can decide whether to buy the software or not. Even though, most trial software products are only time-limited some also have feature limitations.
Paid
Usually commercial software or games are produced for sale or to serve a commercial purpose.
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Installation instructions
Windows
Default Windows installer (thonny-4.0.1.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.1.exe which comes with 32-bit Python 3.8.
NB! 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).
macOS
thonny-4.0.1.pkg contains universal2 build of Python 3.10 — this means it is suitable both for Arm (M1, M2) and Intel Macs.
Linux
thonny-4.0.1.bash is a script, which downloads and installs thonny-4.0.1-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).
Changes since 4.0.0
4.0.1 is mainly a bug-fix release.
- Fix error when running script with closed Shell, #2412
- Fix error with programs calling
exit
(more robust handing of closing the back-end process), #1786, #2433, #2423 - Fix blank editor after switching tabs on macOS, #2425
- Instruct saving the program before debugging, #2415
- Fix find not highlighting selected result in block comments, #2407
- Fix new file creation error, #2406
- Fix Choice Dialog closing with ESC, #2406
- Fix the error when invoking Python’s
help
function, #2435 - Fall back to killing current process when running and interrupt doesn’t work, #2420
- Don’t close the backend process when interrupting at idle prompt, #2422
- Fix Windows 11 version in About dialog, #2406
- Fix outdated test, #2413
- Make the Mac installer more compatible with Arm, #2409
- Allow downloading latest unstable MicroPython builds, #2408
- Allow new file command for remote file browser
- Update Estonian, German and Chinese (TW) translations
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Changes and fixes since 4.0.0b3:
- CHANGED: Require single click for toggling a breakpoint, #2293
- Refactor MicroPython/CircuitPython flashing dialog, #2344
- Add TODO view (by @kr-g), #2067
- Add possibility to activate a virtual environment via Files view (by @kr-g), #2381
- Add separate «Install …» items to the back-end switcher menu if a device in UF2 bootloader mode is detected, #2387
- Automatically reload saved files after external modification (with help from @kr-g), #1589, #1455, #1968
- Add EV3 default password information to config page, #2284
- Don’t choke on relative interpreter paths, #2335
- Don’t crash when Windows network locations can’t be found, #2285
- Don’t show package extra deps even when the extra is combined with another condition
- Make paddings larger for hi-res displays
- Take OSC commands into account when looking for prompts (relevant for CircuitPython 8), #2349
- Support OSC sequences for setting terminal title, #2369
- Toggle hidden files also via file-browser’s context menu, #1039
- Use «Install MicroPython» instead of «Install firmware», #2364
- Rename «Python 3» back-end to «Local Python 3»
- Seed find/replace with currently-selected text, #2356
- Work around Pylint error (make Pylint work again), #2359
- Add coloring for
match
andcase
soft keywords, #2358 - Add Slovenian translation (by cspaier)
- Update several translations
- Fix translations with bad placeholders (by @abrarwali), #2253
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the invasion of Russian orcs. Please support Ukraine! 🇺🇦
Changes since 4.0.0b2:
- BREAKING: Don’t SetProcessDpiAwareness for user programs anymore. This means for example, that Tkinter and Pygame programs on Windows run as if they were executed with plain Python (ie they may become blurry on modern displays). For clear picture, start your program with
import ctypes; ctypes.OleDLL("shcore").SetProcessDpiAwareness(1)
, #2159 - Add «Assistant» help page explaining the possibility to omit selected Pylint checks, #1978
- Add command «Run => Visualize current script at Python Tutor», #2242
- Fix debugger error when importing user modules (regression introduced in 4.0.0b1), #2246
- Add options for automatically making uploaded or saved shebang scripts executable (includes changing Windows line breaks to Unix ones). See «Editor» and SSH-backends’ config pages.
- Don’t propose pythonw.exe as initial backend, #2236
- Fix error when trying to open a file from file browser with ENTER, #1785
- Fix support for remote Python 3 over SSH (regression introduced in one of the 4.0.0 betas), #2249
- Support CircuitPython with micro:bit, #2251
- Avoid wobbling of AutomaticScrollbar, helpful report by @TooLazy0x00, #2258
- Fix problem uninstalling MicroPython packages
- Install packages without —user in portable mode, #1606
- Allow back-end plugins to modify sys.path, #2281
- Use %run instead of %Run when skipping interpreter restart, #1565
- Updated Estonian, Thai and Brazilian Portuguese translations
- EXPERIMENTAL: Add LEGO® EV3 back-end: «Run => Select interpreter => MicroPython (EV3)»
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the invasion of Russian orcs. Please support Ukraine! 🇺🇦
Known issues:
- Windows bundle proposes pythonw.exe as default interpreter. This interpreter does not allow interrupting programs with Ctrl+C. It is recommend to switch to «Thonny’s Python» from the lower-right corner of the main window.
Changes since 4.0.0b1:
- Add 32-bit bundle with Python 3.8 for Windows (the main Windows bundle is now 64-bit and contains Python 3.10, which doesn’t support Windows 7)
- Fix the problem with scripts having declared encoding something else than UTF-8, #1650
- Don’t clear shell after automatic restart
- Fixes certain problems with running Flask programs, #2062
- Fix KeyError: ‘ESP32.url’ when connecting to WebREPL, #2082 (regression introduced in b1)
- Fix parameter completions where name of local variable was proposed with trailing ‘=’
- Fix error with printing (regression introduced in b1), #2233
- Fix Find & replace dialog not appearing, #2208
- Fix display of debugger frames (regression introduced in 4.0.0b1), #2216
- Warn when environment value is provided with quotes, #2184
- Let macOS installer know the bundle is able to run in arm64 mode, #2201
- Update completion stubs for MicroPython and CircuitPython (from @hlovatt and @adafruit)
- Add compatibility with Python 3.8 via Windows launcher, #2206
- Disable «Run» command when MicroPython device is disconnected
- Make Shell read-only when device is disconnected
- Fix various problems with managing files on CircuitPython devices
- Don’t assume all CircuitPython boards have RTC, #1760
- Fix error with evaluating
globals()
on MicroPython device, #1938 - Add MicrobitImage inspector for Object inspector
- Add Tamil translation, by Kamala Kannan K and அனிச்பிரபு தி, #2211
- Add Thai translation, by Tomzt Pimai and Game of
- Update translations for German, Spanish, Japanese, Slovak, Korean, Brazilian Portuguese, Albanian
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the terror of Russian army. Please support Ukraine! 🇺🇦
4.0.0b1 is a pre-release with several new features and bugfixes. Please test to find and report the remaining (and new) bugs!
Known issues
- At least on Windows, launching Thonny fails with Python 3.8. This will be fixed in the next beta (https://github.com/thonny/thonny/issues/2206)
Changes since 3.3.13
Distribution
- Upgrade bundled Python to 3.10
- Drop support for Python 3.5, 3.6 and 3.7
- The main Windows bundle is now 64-bit. For fallback publish 32-bit bundle with Python 3.8 for 32-bit Windows 10 and 8.1 and all variants of Windows 7 and 8.
- Stop publishing 32-bit Linux bundles.
- Enhance Linux installer script (the .bash-file) to create a venv and pip-install Thonny if run on a platform for which there is no binary bundle available. This means you can now use Linux installer also on Raspberry Pi, #1736
Code completion and analysis
- Add the option for automatically getting completions while typing (Tools => Options => Editor)
- Selecting a completion with Tab now replaces the name suffix right of the cursor, #1998
- Turn off requesting completions with Tab in editors by default, #2069
- Show documentation for the selected completion with another Ctrl-Space or automatically (Tools => Options => Editor)
- Add «call-tips» — a box describing the formal parameters of current method call. Invoke manually with Ctrl-Shift-Space or automatically after typing open parentheses (Tools => Options => Editor)
- Enhance Go-to-definition (Ctrl-click). The name is now underlined while ctrl-hovering over it.
MicroPython
- Use pipkin for managing packages on MicroPython and CircuitPython devices. This enables proper listing of packages together with version info and proper uninstallation.
- Use
.local_rtc
config parameters instead of (oppositely worded).utc_clock
in MicroPython back-ends, 116aecd714d5e94a8ad6e244deac44aece5065eb - Present MicroPython time options (whether to sync time and whether to use local time) in back-end configuration page, #1638
- Automatically interrupt current process when connecting to bare-metal MicroPython or CircuitPython device. This can be turned off at device’s settings page, #2059
- Don’t hide the output when Stop/Restarting MicroPython, #1805
- Make internal MicroPython errors less intimidating. In several cases the errors are caused by bugs in MicroPython or USB driver and there is no use of showing the stacktrace. User is now directed to restart the device and stacktrace can be checked from the backend.log, #1799
- Make MicroPython back-end advise Ctrl+C also if only whitespace characters get printed, #1755
- Allow running MicroPython scripts without soft-rebooting first, #1565, #1716
- Add generic «MicroPython (RP2040)» back-end in addition to the more specific «MicroPython (Raspberry Pi Pico)», #2151
- Mention the possibility to reconfigure file types when denying opening remote files in a system app, #2148
Various
- Add new toolbar button which opens the wiki page describing ways to help Ukraine survive the attack from Russia.
- Allow running content of untitled editors without saving, #778
- Clear Shell before starting new process (Run, Debug, Stop/Restart, …) by default. Can be turned off in Tools => Options => Shell, #1681
- Make stacktrace links to
<stdin>
and<input>
pseudo-files go to the editor containing corresponding source, #778 - Ask confirmation for adding .py extension when the user saves the file without any extension to MicroPython/CircuitPython device, #2077
- Don’t add the .py extension when the user saves a local file and selects «All files» filter.
- Add Cut/Copy/Paste to the file browser, #2001 by @kr-g
- Make editor remember current line when reloading external changes, #2001 by @kr-g
- Add «Edit => Go to line…» command (Ctrl-G), #2001 by @kr-g
- Add «Rename» command for the local file browser, #2001 by @kr-g
- Add nicer Stop-button for higher resolutions, #1445 by @speedy-10
- Improve icon scaling — use larger icons when Treeview row height is larger than
general.large_icon_rowheight_threshold
- Use default font in Treeviews (including Files and Variables view). Therefore Treeview’s font size is now affected by the scaling factor and is not affected by editor font size.
- Use isolated mode for launching Thonny. This includes hiding user-site packages from Thonny’s GUI process (not from user programs). Plug-ins now get installed under Thonny’s data folder, #2038, #1651
- Allow installing packages for remote CPython backend, #1319
- Flatten the list of interpreters in the backend-switcher menu (lower-right corner of the main window)
- Removed previously deprecated «A special virtual environment». Use regular virtual environments instead.
- Merge «The same interpreter which runs Thonny» and «Alternative Python 3 interpreter or virtual environment» back-ends into «Local Python 3»
- Back-end switcher now remembers several configurations for remote CPython and MicroPython.
- Make package manager work for remote Python 3 (SSH)
Fixes
- Fix issues with printouts containing more than 999 lines, #2118, #1646
- Fall back to default theme when used 3rd party theme gets uninstalled, #2117
- Fix problem with Files hamburger menu when nothing is selected, #2101
- Fix Windows version detection in «Tools => Open system shell», #1961
- Make sure Thonny’s dialogs are treated as dialogs in macOS and Linux, #1790
- Don’t issue two Ctrl+C-s too quickly in row when interrupting MicroPython process, in order to give time for finally-blocks to clean up, #1757
- Fix asm_pio error when working in with RP-pico in shell mode, #1718
- Fix the crash when scripts longer than 4KB are sent to Python 3 SSH back-end, #1680
- Properly interrupt MicroPython code before submitting new code when using F5 while code is running, #1668
- Use «vista» Tk-theme instead of «xpnative» in Windows. Gives nicer combobox, #1663
- Fix problems with full screen and split screen views in macOS, #1293, #1012
- Fix the crash when pasting certain Unicode chars to editor in macOS, #32
- Fix the crash caused by Cmd-backtick and others with Spanish keyboard in macOS, #886
- Fix focus issues in dialogs, #2153
- Fix automatic horizontal scrollbar not always appearing, #2169 and #659 by @jharris1993 and @lurch
- Forward SSH password to the back-end process via stdin instead of command line.
Minor update.
- Fix problems in org.thonny.Thonny.appdata.xml
- Allow assigning Python coloring for Python-like files, #1927
- Increase the initial top coordinate of Thonny’s main window. Fixes problem of Thonny’s title bar being hidden by the system menubar, #1925
Version 3.3.12 was a bug-fix release (not released on GitHub). Version 3.3.13 adds a small metadata update relevant (relevant only for Linux packagers).
Installation
- Windows: download and execute thonny-3.3.13.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway». NB! Windows installer has been refactored, see https://github.com/thonny/thonny/wiki/DeploymentOptions#all-users-vs-current-user-install for more info!
- macOS: download and open thonny-3.3.13.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.13.pkg may work, but if you are having problems, then try thonny-3.3.10-alt.pkg from the previous release. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux on 32-bit and 64-bit x84: download thonny-3.3.13.bash and execute it with Bash (
bash thonny-3.3.13.bash
). - All platforms: create a virtual environment, install with
pip install thonny
and run withthonny
.
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.11
- Restore syncing to localtime for RPi Pico (fixed regression introduced in 3.3.11), #1886
- Fix installing from requirements.txt in MicroPython, #1879
- Allow specifying different colors for method and function calls, by Jonathan Campbell, #1884
- Extend editor API for plug-ins (close event and content load/save hooks), by Nicolas Despres, #1891
- Fix technical errors in some translations, by Karolina Surma, #1895
- Warn when inputting non-ascii chars in MicroPython, #1911
- Fix installing for all users in Windows installer, #1119 and #1909. See https://github.com/thonny/thonny/wiki/DeploymentOptions#all-users-vs-current-user-install for more info.
- Prepare Thonny for Flatpak, by Jordan Williams, #1900 and #1912
- Update minipip to 0.1b5 in order to skip installing Blinka when installing libraries for CircuitPython
- Update Polish translation
- Update org.thonny.Thonny.appdata.xml
This is a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.11.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.11.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.11.pkg may work, but if you are having problems, then try thonny-3.3.10-alt.pkg from the previous release. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux on 32-bit and 64-bit x84: download thonny-3.3.11.bash and execute it with Bash (
bash thonny-3.3.11.bash
). - All platforms: create a virtual environment, install with
pip install thonny
and run withthonny
.
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.10:
- Fix MicroPython management errors when user code shadows built-in names, #1856
- Fix package manager getting frozen when installing packages, #1871
- Fix problem of MicroPython package manager taking module names for distribution names, #1833
- Fix ugly error in ESP flasher dialog when esptool is not found, #1837
- Fix Tkinter error when using venv created from bundled Python, #1835
- Use 0..6 for weekday when synchronizing RTC via machine, #1868
- Make esptool auto-detect chip type, #1838
- Fix Unix MicroPython time validation (misdiagnosed time offset)
- Update dependencies in Thonny+Python bundles
- Update Spanish, Polish, Chinese (TW) translations
This is mainly a bug-fix release with one new feature — the ability to install pip-compatible packages for MicroPython.
Note that 3.3.8 and 3.3.9 were not published on GitHub.
Installation
- Windows: download and execute thonny-3.3.10.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.10.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.10.pkg may work, but if you are having problems, then try thonny-3.3.10-alt.pkg. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux on 32-bit and 64-bit x84: download thonny-3.3.10.bash and execute it with Bash (
bash thonny-3.3.10.bash
). UPDATE: pip support in Linux bundles was fixed on May 20th. If you downloaded it before this, then please download again! - All platforms: create a virtual environment, install with
pip install thonny
and run withthonny
.
thonny-xxl
variants have more packages preinstalled.
alt
-variants are bundled with Python 3.9.5 (instead of 3.7.9) and Tk 8.6.11. Not all platforms have alt-variants — see 3.3.7 for more.
Known issues
- Installing MicroPython packages from requirements files doesn’t work (#1823).
Changes since 3.3.7:
- Support installing regular pip-compatible packages to MicroPython or CircuitPython (so far only upip-compatible packages were supported), #1541
- Fix «error 403» problems when installing MicroPython packages from PyPI, #1822
- Fix error when Object inspector is open and a MicroPython object can’t be found by id, #1796
- Reduce memory usage by Thonny’s MicroPython helper (store last REPL value in global _ instead of storing N last values in a list), #1797, #1798
- Upgraded several dependencies in binary bundles
- Fix missing libffi6 error in Linux builds, #767
This is mainly a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.7.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.7.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.7.pkg may work, but if you are having problems, then try thonny-3.3.7-alt.pkg. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux: download thonny-3.3.7.bash and execute it with Bash (
bash thonny-3.3.7.bash
)
thonny-xxl
variants have more packages preinstalled.
alt
-variants are bundled with Python 3.9.5 (instead of 3.7.9) and Tk 8.6.11. Note that alt
Windows installer is 64-bit.
thonny-3.3.7-py38.exe
is with Python 3.8 (latest Python version supporting Windows 7 and 8).
Changes since 3.3.6:
- Make confugration dialog larger to fit French strings, by sourceperl, #1694
- Fix «_prepare_after_soft_reboot» error in Unix MicroPython mode, #1715
- Support interactive programs with Unix MicroPython, #1725
- Fix read-only filesystem error for CircuitPython in non-English variants of CircuitPython, #1662
- Fix error on right clicking in local file explorer with Italian translation, #1713
- Fix back-end switcher menu position and theme, #1719, #1720
- Fix «pop from empty list» error when MicroPython is having problems, #1586
- Fix MYPYPATH / MyPy not working, #1124
- Highlight unclosed strings even inside unclosed parens, #1770
- Fix problem running code via WebREPL, #1762
- Make Outline show also async, defs #1787
- Don’t show full error info when ManagementError doesn’t seem to be Thonny’s fault, #1788
- Don’t show error dialog when querying globals fails (error is shown on the variables table instead), #1789
- Recover from corrupted rpc.sock («invalid literal for int() with base 10» error), #1745
- Add 3 translated Help files for Spanish, by José Carlos García, #1759
- Add Korean translations of Help files, by Hyungseok Choi, #1758
- Add first version of Finnish translation by Lrasinen
- Update translations for Albanian, French, Korean
- Add newer MyPy (0.812) to binary bundles
The main purpose of this release is to fix a regression introduced in 3.3.4 (#1670).
Installation
- Windows: download and execute thonny-3.3.6.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.6.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.6.pkg may work, but if you are having problems, then try thonny-3.3.6_alt.pkg. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux: download thonny-3.3.6.bash and execute it with Bash (
bash thonny-3.3.6.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.5:
- Fix crash in Shell when negative int-s are evaluated in MicroPython (regression introduced in 3.3.4), #1670
- Fix problems with wm_overrideredirect on macOS with Tk 8.6.11, #1659
- Fix crash in Plotter when more than 10 numbers are plotted, #1648
- Hide unsuitable PYTHONPATH environment variable in macOS, #1651
The main purpose of this release is to fix a regression introduced in 3.3.4 (#1627).
Installation
- Windows: download and execute thonny-3.3.5.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.5.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.5.pkg may work, but if you are having problems, then try thonny-3.3.5_alt.pkg. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux: download thonny-3.3.5.bash and execute it with Bash (
bash thonny-3.3.5.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.4:
- Fix too short reprs at MicroPython REPL (regression introduced in 3.3.4), #1627
- Fix incorrect presentation of long output lines, #1628
- Fix error in nicer debugger when stepping in generators, #1631
- Fix infinite recursion error when evaluating
globals()
in MicroPython REPL while object inspector is open, #1641 - Update Greek translation
This is mostly a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.4.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.4.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.4.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg from a previous release instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.4.bash and execute it with Bash (
bash thonny-3.3.4.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.3:
- CHANGED: MicroPython time synchronization now sets RTC to local time instead of UTC. This can be changed via a hidden configuration option (https://github.com/thonny/thonny/wiki/MicroPython#advanced-configuration), #1603
- Add time synchronization for RaspberryPi Pico, #1563, #1592
- Skip loading obsolete thonny-pico plug-in, which is now built in, #1575
- Get rid of misleading SSL warning in micropip.py and show a warning about non-MicroPython packages, #1621
- Fix WebREPL connection for MicroPython 1.14 by using regular paste mode instead of the new raw-paste mode, #1613
- Delay importing jedi and asttokens for improved performance, #1556
- Don’t assume «dialout» group is required when MicroPython connection fails with permission error, #1286
- Reduce the memory usage of showing global variables by capping object representations to 50 first characters in MicroPython, #1582
- Add Hungarian translation (by Laszlo Kocsis)
- Updated translations for German, Korean, Italian, Dutch (by various authors)
This release adds support for MicroPython on the new Raspberry Pi Pico (https://www.raspberrypi.org/blog/raspberry-pi-silicon-pico-now-on-sale) and fixes some bugs.
I can now finally say, that all the work on Thonny’s MicroPython support since early betas of 3.3 was supported by Raspberry Pi Foundation. Many thanks to them!
Installation
- Windows: download and execute thonny-3.3.3.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.3.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.3.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg from a previous release instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.3.bash and execute it with Bash (
bash thonny-3.3.3.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.2:
- Add MicroPython support for Raspberry Pi Pico (https://www.raspberrypi.org/blog/raspberry-pi-silicon-pico-now-on-sale/)
- Better support for MicroPython daily builds, #1545, #1553
- Automatically prepend relevant Anaconda directories to PATH. Fixes problem with importing Anaconda’s numpy, #1522
- Make custom Python chooser see more interpreters, #1522
- Fix several spelling mistakes, by freddii, #1534
- Update toolbar buttons, when another editor gets selected, fixes wrong button states, #1536
- Catch errors when opening file in system app, #1526
- Fix internal error while using Outline View, #1543
- Fix truncated System Shell environment on macOS, #1529
- Add /usr/local/bin to the PATH of the back-end process if missing, #1131
- Fix error while parsing Pygame Zero error, #1535
- Fix MicroPython completion errors with jedi 0.18, #1560
- Add incomplete Korean language by Augene J. Pak, Fabianus.c, Suk-Hyung Hwang, YEON, $1531
- Add incomplete Albanian translation by Algent Albrahimi
- [Technical] Allow older Send2Trash (Fedora doesn’t have version 1.5 of this)
- [Technical] Remove erroneous executable flags from some files
This is mostly a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.2.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.2.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.2.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg from previous release instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.2.bash and execute it with Bash (
bash thonny-3.3.2.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.1:
- Fix the problem of missing docstrings, #1481
- Fix MicroPython management error after executing machine.reset(), #1492
- Add support for MicroPython raw paste mode (usable in MicroPython 1.14+), #1498
- Restore MicroPython raw mode as fallback, should fix problems with M5Stick and W600, #1516
- Add syntax highlighting for non-decimal number literals and support underscores, #1482 by Stefan Rothe
- Make sure all output from the program gets presented, #1504
- Interrupt current program when running a MicroPython script, #1512
- Add support for Jedi 0.18, #1497
- Fix arguments completions for jedi 0.16+, #1511
- Make micro:bit support a bit more robust, #1515
- Add Persian (Farsi) translation by Farshid Meidani
- Add Slovak translation by jose1711
- Add Armenian translation by Avag. sayan
- Update Italian and Chinese (TW) translations
This is a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.1.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- macOS: download and open thonny-3.3.1.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- macOS Big Sur: thonny-3.3.1.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.1.bash and execute it with Bash (
bash thonny-3.3.1.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.0:
- Support BBC micro:bit v2, #1449
- Fix problem with MicroPython programs creating lot of output very quickly, #1419
- Fix wrong message when saving to MP and device is busy, #1437
- Bump Pyserial version from 3.5b1 to 3.5, fix problem with some ESP devices, #1443
- Fix error when trying to download file from microbit, #1440
- Don’t assume anything about conf files in Pi theme, #1436
- Fix error on reseting MicroPython device, #1442
- Fix unwanted output from expession statements in MicroPython, #1441
- Treat double-click in the remote file dialog differently from double-click in the Files view, #1432
- Fix error when closing MP file dialog without name, #1431
- Refactor «File => Rename» command (new label «Move / rename» and you can’t «rename» a file on MP device to a file on local disc and vice versa), #1446
- Fix broken links in help pages, #1447
- Use THONNY_USER_DIR/temp for temp files. Fixes printing when default browser is Snap Chrome, #1435
- Fix error when clicking on «Attributes» tab on Object Inspector when no object is selected (MP) #1450
- Updated translations (Spanish an Brasilian Portuguese)
- Allow specifying DTR/RTS for serial connection (to avoid restarting ESP on connect), #1462
- Open log window automatically if work dialog encounters error, #1466
- Don’t close work dialog automatically if log window is opened, #1465
- Fix dummy MicroPython packages giving ugly errors, #1464
- Fix crashes in Assistant view with Dracula theme, #1463
- Work around Caps lock problem when binding command shortcuts, #1347
Highlights
- More stable MicroPython support
- Possibility to run code and manage files on a remote machine over SSH (both for CPython and MicroPython)
- Interpreter switcher in the lower-right corner of the window
Installation
NB! Windows installer is signed with new identity and you may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- Windows: download and execute thonny-3.3.0.exe
- macOs: download and open thonny-3.3.0.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- Linux: download thonny-3.3.0.bash and execute it with Bash (
bash thonny-3.3.0.bash
)
All changes since 3.2.7
New
- Back-end for remote Python over SSH (try editing and running remote and local scripts and upload/download in the file browser; package manager, system shell, and debuggers don’t work yet)
- Back-end for remote Unix MicroPython over SSH
- Back-end for local Unix MicroPython
- Package manager for MicroPython (using micropip.py by Peter Hinch), #1299, see https://forum.micropython.org/viewtopic.php?f=15&t=8787&start=14
- Support Object inspector with MicroPython back-ends, #1309
- Thonny now synchronizes real-time clock of MicroPython devices on connect and before each file operation, #1004
- Allow editing any file as plain text, #1305
- File browser now allows setting default action by extension (open in system default app or in Thonny’s editor), #1305
- ESP flash dialog now allows selecting flash mode, #1056 by Rune Langøy
- «Save all» command, #1053 by Syed Nasim
- Clicking on a value in the Shell selects it and opens in the Object inspector.
- By default, after evaluating an expression in the Shell the value will be automatically shown in the Object inspector (if open). See Options => Shell to turn it off.
- Object inspector now display more information about numbers (try 1024 or 0.1), #1230
- Support evaluating several expressions at once in the Shell (just like official Python REPL), #795
- Include esptool in binary bundles
- Statusbar with backend switcher, #1356
- Firmware flasher for CircuitPython, #1375, #1351
- Add command to filebrowser menu for toggling hidden files, #1292
Changed
- Package manager now searches PyPI instead of requiring exact package name, #1300
- File browser now shows remote files below local files. This way local pane won’t jump around when switching between local and remote back-ends.
- Stop/Restart command now soft-reboots MicroPython device after reaching the prompt
- Versions of serveral dependencies were updated
- Refactor alternative interpreter configuration page, #1079
- Add default black fg color to tooltips, #1381, by adzierzanowski
- Use paste-mode instead of raw repl for executing code on MP devices, #1386
- Use WebREPL file protocol for uploading files, #1387
- Hide underscored names from autocomplete suggestions unless user already typed ‘_’, #1382, by adzierzanowski
- Updated firmware flasher for micro:bit, #1351
- Color self and cls like builtins, #1080
- Soft-reboot MicroPython before «Run current script», #1393
- Enhance upload/download dialogs, #1395
- Make «Open System shell» open ssh with remote back-ends
- Make «Open System shell» open miniterm with MicroPython back-ends, #1287
- Removed automatic tabs => spaces conversion and its confirmation dialog, #599
- Added command for replacing tabs with spaces, #1411
- Added option for highlighting tabs (Tools => Options => Editor), #1409
- Added option for indenting with tabs (Tools => Options => Editor), #599
- Add an option to use Tk file dialogs instead of Zenity in Linux, #1404
- Reduce max repr length for MicroPython (1000 instead of 5000)
- Forward https_proxy or http_proxy variable to pip, #535
- Allow specifying environment variables for the UI process, #1421
- Remove special support for Friendly-traceback, #1416
- Use exclusive access when connecting to a MP device over a serial port, #1418
Fixed
- Several intermittent bugs related to fragility of the communication with MicroPython REPL, #1103, #1147
- #1138: Allow semicolon in Shell input with Python 3.8
- #1129: Support terminator as system shell
- #772: Allow invoking interrupt command from the menu when the editor has text selected (Ctrl+C would copy then)
- #1146, #1159: «No module named pwd» error
- #1283: Disable save button after save
- Make Replayer work with timestamps without fractional part, #1116
- Don’t raise exception when hitting end of undo/redo stack, #1211 by Andrew Scheller
- Fix a typo in the code to display dialog. (#1260 by Ankith)
- Don’t choke when MP management output is wrapped between user input, #1346
- Include ampersand in URL regex in the Shell, #1323
- Dialogs may end up behind the main window, #1158, #1133
- Augment LD_LIBRARY_PATH instead of replacing it, #1008
- Fix «Install from requirements.txt» error, #1344
- File dialog should scroll to top when new folder gets selected, #1345
- Improve MicroPython file write reliability, #1355
- Fix CircuitPython directory creation
- Allow selecting venv ‘activate’ instead of interpreter symlink in the interpreter configuration page, #1079
- Fix Unconnected network drive shorcuts make Files explorer broken #1333
- Don’t allow save as a file which is already opened, #1310
- Fix error in clearing squeezed boxes, #1091
- Fix interrupt for download, #1320
- Make sure expression box for while/for test is located properly, #1134
- In MicroPython backends only warn about failed epoch dectection if sync or validation is required
- Don’t show ugly traceback in debug mode
- Internal error while debugging exceptions, #1403
- Automatically create Thonny user dir in remote machine, #1365
- Fix MicroPython uploading/downloading when started from an expanded dir, #1398
- Fix unrensponsive UI when MicroPython is printing in infinite loop, #1419
- Fix ugly stacktrace, when MicroPython device is disconnected during processing a command, #1420
Enhanced
- Convert keypad movement events to equivalent non-keypad ones, #1107 by Eliot Blennerhassett
- Start file-open-dialog in same dir as current file, #1209 by Andrew Scheller
- Bash install — do everything inside a new directory (#1203 by Andrew Scheller)
- #1145: Provide understandable error message, when Linux installer downloader is run on a non-supported platform (by Andrew Scheller)
New and updated translations
- Czech by Petr. moses and Radim
- Romanian by Pop Vasile Alexandru
- Norwegian (Bokmål and Nynorsk) by Gabriel Slørdahl
- Updated Portuguese (BR) by Marcelo de Gomensoro Malheiros
- Updated French, Polish, Greek, Spanish, Italian
This will be probably the last beta before stable 3.3.
Changes since b2:
- Add default black fg color to tooltips, #1381, by adzierzanowski
- Use paste-mode instead of raw repl for executing code on MP devices, #1386
- Use WebREPL file protocol for uploading files, #1387
- Hide underscored names from autocomplete suggestions unless user already typed ‘_’, #1382, by adzierzanowski
- Add command to filebrowser menu for toggling hidden files, #1292
- Fix Unconnected network drive shorcuts make Files explorer broken #1333
- Don’t allow save as a file which is already opened, #1310
- Color self and cls like builtins, #1080
- Soft-reboot MicroPython before «Run current script», #1393
- Fix error in clearing squeezed boxes, #1091
- Enhance upload/download dialogs, #1395
- Make «Open System shell» open ssh with remote back-ends
- Make «Open System shell» open miniterm with MicroPython back-ends, #1287
- Better interrupt for download, #1320
- Fixed a regression introduced in b4 — Thonny crashed on launch when data directory didn’t exist yet.
- Statusbar with backend switcher, #1356
- Firmware flasher for CircuitPython, #1375, #1351
- Updated firmware flasher for micro:bit, #1351
- Refactor alternative interpreter configuration page, #1079
- Don’t choke when MP management output is wrapped between user input, #1346
- Include ampersand in URL regex in the Shell, #1323
- Dialogs may end up behind the main window, #1158, #1133
- Augment LD_LIBRARY_PATH instead of replacing it, #1008
- Fix «Install from requirements.txt» error, #1344
- File dialog should scroll to top when new folder gets selected, #1345
- Improve MicroPython file write reliability, #1355
- Fix CircuitPython directory creation
- Allow selecting venv ‘activate’ instead of interpreter symlink in the interpreter configuration page, #1079
- Improve diagnostic logging, #569
- Stop/Restart command now soft-reboots MicroPython device after reaching the prompt
- Fixed problem with saving SSH password
Version 3.3 is mostly about more comfortable and more robust support for MicroPython. Another highlight: possibility for running your programs in another computer via SSH.
All new features, fixes and changes:
New
- Back-end for remote Python over SSH (try editing and running remote and local scripts and upload/download in the file browser; package manager, system shell, and debuggers don’t work yet)
- Back-end for remote Unix MicroPython over SSH
- Back-end for local Unix MicroPython
- Package manager for MicroPython (using micropip.py by Peter Hinch), #1299, see https://forum.micropython.org/viewtopic.php?f=15&t=8787&start=14
- Support Object inspector with MicroPython back-ends, #1309
- Thonny now synchronizes real-time clock of MicroPython devices on connect and before each file operation, #1004
- Allow editing any file as plain text, #1305
- File browser now allows setting default action by extension (open in system default app or in Thonny’s editor), #1305
- ESP flash dialog now allows selecting flash mode, #1056 by Rune Langøy
- «Save all» command, #1053 by Syed Nasim
- Clicking on a value in the Shell selects it and opens in the Object inspector.
- By default, after evaluating an expression in the Shell the value will be automatically shown in the Object inspector (if open). See Options => Shell to turn it off.
- Object inspector now display more information about numbers (try 1024 or 0.1), #1230
- Support evaluating several expressions at once in the Shell (just like official Python REPL), #795
- Include esptool in binary bundles
Changed
- Package manager now searches PyPI instead of requiring exact package name, #1300
- File browser now shows remote files below local files. This way local pane won’t jump around when switching between local and remote back-ends.
- TECHNICAL: Versions of serveral dependencies were updated
Fixed
- Several intermittent bugs related to fragility of the communication with MicroPython REPL, #1103, #1147
- #1138: Allow semicolon in Shell input with Python 3.8
- #1129: Support terminator as system shell
- #772: Allow invoking interrupt command from the menu when the editor has text selected (Ctrl+C would copy then)
- #1146, #1159: «No module named pwd» error
- #1283: Disable save button after save
- Make Replayer work with timestamps without fractional part, #1116
- Don’t raise exception when hitting end of undo/redo stack, #1211 by Andrew Scheller
- Fix a typo in the code to display dialog. (#1260 by Ankith)
Enhanced
- Convert keypad movement events to equivalent non-keypad ones, #1107 by Eliot Blennerhassett
- Start file-open-dialog in same dir as current file, #1209 by Andrew Scheller
- Bash install — do everything inside a new directory (#1203 by Andrew Scheller)
- #1145: Provide understandable error message, when Linux installer downloader is run on a non-supported platform (by Andrew Scheller)
This version has no new features and no bugfixes in Thonny’s main code.
Build changes:
- Skip some tests for newer jedi versions (required for Linux packaging)
- Upgrade bundled Python version to 3.7.7
- macOS bundle is now published as .pkg. Previously Thonny was distributed as dmg, but the new approach allows overcoming permission issues in Catalina.
Installation
NB! Windows installer is signed with new identity and you may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- Windows: download and execute thonny-3.2.7.exe
- macOs: download and open thonny-3.2.7.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in that folder!
- Linux: download thonny-3.2.7.bash and execute it with Bash (
bash thonny-3.2.7.bash
)
This release was made to fix a regression introduced in 3.2.5
Changes:
- FIXED #1035: Make highlight names work with recent Jedi versions
- FIXED #1043: Can’t load files from MicroPython device (regression introduced in 3.2.5)
- FIXED: Missing «Local files» label on save target selection dialog
Installation
NB! Windows installer is signed with new identity and you may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- Windows: download and execute thonny-3.2.6.exe
- macOs: download and open thonny-3.2.6.pkg and follow the instructions. Previously Thonny was distributed as dmg, but current approach allows overcoming permission issues in Catalina. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can’t work in this folder!
- Linux: download thonny-3.2.6.bash and execute it with Bash (
bash thonny-3.2.6.bash
)
This is mostly a bug-fix release. The only new feature is support for Friendly Traceback.
Known issues:
- Loading files from MicroPython device doesn’t work: https://github.com/thonny/thonny/issues/1043
Updates:
- CHANGED: Python version in binary bundles upgraded from 3.7.5 to 3.7.6
- CHANGED: MyPy checks are now enabled by default (Tools => Options => Assistant)
- CHANGED: New Pylint checks are enabled
- UPDATED #32: Thonny can now display/copy/paste Unicode emojis with Python 3.7.6+ / 3.8.1+ in Windows and Linux. Selection can be still wonky, though and emojis can freeze Thonny on macOS. Fixed by https://github.com/python/cpython/pull/16545
- FIXED #815: «Open System Shell» fails when no script is open
- FIXED #973: Scrollbar in Help and Assistant acts funny
- FIXED #1019: Crash on startup when Shell gets text inserted too soon
- FIXED #1023: Accept code completions without parent and full_name
- FIXED #1025: Extra imports by Thonny’s back-end make stdlib name shadowing more troublesome
- FIXED #1026: Allow ‘+’ in image data URI chars in Shell
- FIXED #1028: Thonny now has preliminary support for Friendly Traceback.
- FIXED: Allow larger images in shell (don’t squeeze image URI-s), #401
- FIXED: Fallback to English, when configured language can’t be loaded
- FIXED: Problem using esptool on PATH
Installation
NB! Windows installer is signed with new identity and you may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- Windows: download and execute thonny-3.2.5.exe
- macOs: download and open thonny-3.2.5.dmg and drag Thonny to Applications
- Linux: download thonny-3.2.5.bash and execute it with Bash (
bash thonny-3.2.5.bash
)
3.2.4 is mostly a bug-fix release, but also contains new translations and performance improvements.
- NEW: Turkish translation by M. Burak Kalkan
- NEW: Polish translation by Jarek Miszczak
- NEW: Partial Italian translation by sailslack
- UPDATED: Greek and Spanish translations
- CHANGED: XXL bundle now includes also pandas
- CHANGED: Make faster tracer show exceptions only with step_over and step_into
- CHANGE #1018: Use traditional stack view by default in Simple mode
- ENHANCEMENT: Improved performance for Faster debugger (proposed and supported by Raspberry Pi)
- FIXED #975: Fix stepping through lambdas with faster debugger
- FIXED #977: Don’t report certain exceptions in faster debugger
- FIXED #983: Propose replacing tabs with spaces only in the editor (not in debugger frames)
- FIXED #986: Nicer debugger fails when run with breakpoints only in secondary files
- FIXED #987: MicroPython autocomplete problems by adzierzanowski
- FIXED #1003: Wrong interpretation of MicroPython file timestamps
- FIXED #1005: Avoid testing included MicroPython stubs
- FIXED #1015: Indicate disabled toolbar buttons on macOS
Installation
NB! Windows installer is signed with new identity and you may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- Windows: download and execute thonny-3.2.4.exe
- macOs: download and open thonny-3.2.4.dmg and drag Thonny to Applications
- Linux: download thonny-3.2.4.bash and execute it with Bash (
bash thonny-3.2.4.bash
)
3.2.3 together with short lived 3.2.2 are bug-fix releases.
Changes in 3.2.2 and 3.2.3:
- NEW: ESP plug-in has been merged into main Thonny package
- NEW: Greek translation (by Nikos)
- UPDATE: Updated several translations (by Vytenis, rnLIKEm, Dleta, Alex ANDRÉ, NathanBnm, LionelVaux, Paul, Eric W, Frank Stengel, …)
- UPDATE: Propose opening files via dialog in case of macOS Catalina permission error (#813).
- FIXED #219: Implement sending EOF / restart for CPython
- FIXED #873: More robust color preference loading in Pi theme
- FIXED #876: Don’t step into comprehension calls
- FIXED #897: Redo shortcut not working in Linux and Mac
- FIXED #899: Can’t set THONNY_USER_DIR in customize.py
- FIXED #904: Don’t show remote MicroPython dialogs when device is busy
- FIXED #905: Problems with Thonny menu on Mac after closing a dialog
- FIXED #911: Allow restoring default scaling factor
- FIXED #921: Make MicroPython backend play nicer with device resets
- FIXED #923: CircuitPython on Trinket m0 gives small int overflow when listing files
- FIXED #925: Save or open problem with network paths
- FIXED #927: Visual glitch / ghosting in Expression Box in macOS
- FIXED #928: Tooltips stay on top in macOS
- FIXED #929: Indicate dirty state in macOS close button
- FIXED #933: Scaling doesn’t work right for Treeviews (Files, Variables)
- FIXED #934: Pad button captions for certain languages
- FIXED #936: Problem uploading files to some STM boards
- FIXED #939: More robust handling of different line endings
- FIXED #943: Wrong syntax highlighting with triple quoted string
- FIXED #946: Handle broken UTF-8 codepoints in MicroPython output
- FIXED #951: Use standard tabstops for program output
- FIXED #953: Allow running system commands with MP back-end
- FIXED #957: Wrong encoding in multiprocessing output
- FIXED #960: File browser is not working in replayer
- FIXED #966: Thonny encounters «internal error» in programs calling exit()
- FIXED #969: Provide nicer message, when MicroPython backend can’t get to the REPL
- FIXED: Don’t apply theming to menu in macOS (menu items were dull with dark themes)
Installation
NB! Windows installer is signed with new identity and you may receive a warning dialog from Defender until it gains more reputation. Just click «More info» and «Run anyway».
- Windows: download and execute thonny-3.2.3.exe
- macOs: download and open thonny-3.2.3.dmg and drag Thonny to Applications
- Linux: download thonny-3.2.3.bash and execute it with Bash (
bash thonny-3.2.3.bash
)
This is a bug-fix release. Changes:
- NEW: ESP plug-in has been merged into main Thonny package
- FIXED #219: Implement sending EOF / restart for CPython
- FIXED #873: More robust color preference loading in Pi theme
- FIXED #876: Don’t step into comprehension calls
- FIXED #897: Redo shortcut not working in Linux and Mac
- FIXED #899: Can’t set THONNY_USER_DIR in customize.py
- FIXED #904: Don’t show remote MicroPython dialogs when device is busy
- FIXED #905: Problems with Thonny menu on Mac after closing a dialog
- FIXED #911: Allow restoring default scaling factor
- FIXED #921: Make MicroPython backend play nicer with device resets
- FIXED #923: CircuitPython on Trinket m0 gives small int overflow when listing files
- FIXED #925: Save or open problem with network paths
- FIXED #927: Visual glitch / ghosting in Expression Box in macOS
- FIXED #928: Tooltips stay on top in macOS
- FIXED #929: Indicate dirty state in macOS close button
- FIXED #933: Scaling doesn’t work right for Treeviews (Files, Variables)
- FIXED #934: Pad button captions for certain languages
- FIXED #936: Problem uploading files to some STM boards
- FIXED #939: More robust handling of different line endings
- FIXED #943: Wrong syntax highlighting with triple quoted string
- FIXED #946: Handle broken UTF-8 codepoints in MicroPython output
- FIXED #951: Use standard tabstops for program output
- FIXED #953: Allow running system commands with MP back-end
- FIXED #957: Wrong encoding in multiprocessing output
- FIXED #960: File browser is not working in replayer
- FIXED #966: Thonny encounters «internal error» in programs calling exit()
- FIXED #969: Provide nicer message, when MicroPython backend can’t get to the REPL
- FIXED: Don’t apply theming to menu in macOS (menu items were dull with dark themes)
This is a bug-fix release.
Changes:
- NEW: Add European Portuguese translation (by Emanuel Angelo)
- NEW: Add Lithuanian translation (by Vytenis)
- NEW: Add Ukrainian translation (by borpol)
- FIXED #802: Avoid scary traceback on MicroPython disconnect
- FIXED #840: Problems with file dialogs in macOS 10.15
- FIXED #843: Make right-click select items in Files view in macOS
- FIXED #845: Crash with older ESP plug-in
- FIXED #851: Ignore warnings when exporting variables
- FIXED #854: Make single instance mode work in multi-user systems
- FIXED #855: Wrong coloring with paren matching
- FIXED #859: Support relative paths when opening files with Thonny from command line
- FIXED #874: Multiline strings break stepping focus background
- FIXED: Dutch translation was inproperly set up
- FIXED: Internal error in Object Inspector (by Emanuel Angelo)
- FIXED: Problem with compacting user event logs
- TECHNICAL: Make tests run with Python 3.8
This is a feature release. Most important updates are related to Shell, Files view and MicroPython support.
Changed
- User action logging is now disabled by default. It can be turned on from «Tools => Options => General».
Shell
- Plotter is new pane for visualizing series of numbers printed to the shell.
- Shell now supports colored output by interpreting ANSI-codes.
- You can rewrite last printed line with
r
andb
. - It’s possible to display images in the Shell by constructing and printing corresponding data-URL-s.
Files view
- It is possible to «Focus into» a directory in files view by double-clicking on a directory in the tree. This makes displayed tree smaller and clearly brings out current working directory (focusing into a directory makes this directory the current working directory of the backend process). Click on the path segments in the upper part of the view to focus into higher directories.
- With MicroPython back-ends Files view displays separate tree for the files and directories on the device.
- Check out all file and directory related commands by right clicking an item or by clicking small button in the upper-right corner of the view.
MicroPython
- Thonny now allows editing scripts on a MicroPython/CircuitPython board directly without copying them to local machine first. You can open a file on the board either with «Files => Open» or by double clicking it in the Files view.
- Former plug-ins
thonny-circuitpython
andthonny-microbit
are now included in the main package. You may uninstall these plug-ins in Thonny 3.2. - «Device» menu is now deprecated and its commands have been relocated. Click on the menu to learn more.
Misc
- It is now possible to translate the UI and help pages to other languages beside English. Initial translations for several languages are already included. Language can be selected in «Tools => Options => General».
- Raspberry Pi theme is now included in the main package. At first run user can select whether to start Thonny with regular settings or with default settings used at Raspberry Pi.
- Beside regular Python+Thonny bundles, we now also publish «Thonny XXL», which includes a bunch of popular Python packages (eg. Pygame Zero, Matplotlib, Flask, …).
- Thonny now allows easy running and debugging of Flask programs.
- All changes and updates:
https://github.com/thonny/thonny/blob/b8534f911503d2878a33397930c1a642cb090ec9/CHANGELOG.rst
Supporters
- Cybernetica AS
- Raspberry Pi Foundation
Many thanks to supporters and contributors!
Most important updates since 3.2b7:
- File browser has more commands (upload to MicroPython, delete, …)
Most important new features since version 3.1:
- Possibility to translate the UI (see https://github.com/thonny/thonny/blob/master/docs/translate.md)
- Plotter (see https://github.com/thonny/thonny/blob/master/thonny/plugins/help/plotter.rst)
- Several enhancements in the Shell (see https://github.com/thonny/thonny/blob/master/thonny/plugins/help/shell.rst)
- File browser for MicroPython back-ends
- Ability to edit files directly in MicroPython boards
All changes and updates:
https://github.com/thonny/thonny/blob/b1401d8d037cb42f660df66e908eef5ce616e7c9/CHANGELOG.rst
Changes:
- FIXED: Make Terminal features work in Windows again
- FIXED #685: Print cuts lines
- FIXED #686: Stepping over user modules can be too slow
- ENHANCEMENT: Include pip in binary bundles
This is a bug-fix release.
- FIXED #674: Print doesn’t work on Mac
- FIXED #675: Make focus editor / shell shortcuts usable on Mac
- FIXED #677: Debugging fails with extended slice syntax
See https://github.com/thonny/thonny/releases/tag/v3.1.0 in case you missed 3.1.0 feature release.
Reminder: Thonny now lives on GitHub. Bitbucket repo will be closed.
NB! Starting from the next release, releases won’t be published in Thonny blog anymore.
This is the first Thonny version to be released on GitHub. Old Bitbucket repo will be closed in couple of months.
What’s new?
- «Run → Pygame Zero mode» allows running Pygame Zero programs with F5. (You need to have
pgzero
installed or install it via «Tools → Manage packages«.) - «Run → Debug current script (Birdseye)» allows visualizing your program execution with Birdseye debugger by Alex Hall. See «Help -> Birdseye» for more information.
- «Run →Run» current script in terminal
- «File → Print…» allows pringing current script (via default web browser)
- «View →Notes» opens a box for writing down code snippets, task descriptions, etc.
See more updates in the changelog.
Installation
Use the links above to download Thonny 3.1.0 bundled with Python 3.7.2
- exe is the installer for Windows
- dmg is image for macOS
- x86_64.tar.gz and i686.tar.gz contain installers for 64-bit and 32-bit Linux respectively
- bash file is a script which downloads correct Linux bundle, unpacks it and starts the installer
Thonny is also available on PyPI. Install it with pip install thonny==3.1.0
(or just pip install thonny
for latest version). Note that this version requires Python 3.5 or later.
Debian and Fedora packages will be uploaded later.
Feedback
Report problems in the issue tracker. Start discussions in the forum / mailing list.
This is the last release in 2.1 series.
The dmg below is the last Thonny+Python compatible with Mac OS X 10.6, 10.7 and 10.8. In order to use newer Thonny versions in these OS-es, you need to install Python and Thonny separately.
Скачать Thonny 4 — Интегрированную среду разработки Python с открытым исходным кодом для начинающих поставляется с Python 3.7 интеграции
Thonny:
Thonny представляет собой интегрированную среду разработки Python с открытым исходным кодом для начинающих. Thonny поставляется с Python 3.7 встроенные, так просто простой установки, и вы готовы учиться программированию. (Вы также можете использовать Python установлен отдельно, при необходимости.) Пользовательский интерфейс лишен всех функций, которые могут сделать новые люди начинают терять фокус.
Thonny — на Python IDE с открытым исходным кодом
Отладчик просто. Просто нажмите сочетание клавиш Ctrl + клавишу F5 вместо F5 и вы можете запустить программу ее шаг за шагом, не нужно останавливаться. Нажмите F6 для большой шаг, и F7 на маленький шаг. Шаги в соответствии со структурой программы, а не только строки кода. Если вы используете маленькие шаги, то вы можете даже увидеть оценки выражений Python, как ваш. Вы можете думать синей коробке эта бледная, как лист бумаги в том, что Python заменяет выражение значение из них, по кусочку.
Кавычки и скобки не раскрыты-это синтаксическая ошибка чаще всего для начинающих. Редактор Thonny сделать эти вещи легко распознать. Выделите переменную, чтобы напомнить вам, что же имя не всегда означает тот же переменных и помогает обнаруживать орфографические ошибки. Локальные переменные выделяются визуально с глобальной.
Режим различить визуально объяснить ссылку. Оригинальные трансформаторы представлен в упрощенной модели (значение имени→), но вы можете перейти к более практичным моделям (имя → адреса / идентификатора → значение). Новичок дружелюбны системы оболочки. Выберите инструменты → открытая система для установки дополнительных пакетов, или узнайте, как работать на Python в командной строке. Путь и конфликты с Python на другую осуществляется Thonny.
Thonny — это удобная для начинающих Python IDE (Интегрированная среда разработки), которая позволяет пользователям с небольшими или нулевыми навыками программирования начать свой первый шаг на пути освоения языка программирования Python.
Созданный с нуля разработчиком Айваром Аннамаа, этот образовательный инструмент считается одним из лучших инструментов для учителей, чтобы предоставить своим ученикам оптимизированную и незагроможденную среду программирования для изучения основ программирования, медленно расширяя их возможности кодирования и решения проблем и подготовки их к решению более сложных задач программирования.
Краеугольным камнем этой среды программирования является редактор Thonny, который имеет бесплодный пользовательский интерфейс, который продвигает минимум инструментов, и широкий спектр фоновых сервисов, которые могут позволить новичкам ускорить свое обучение и оптимизировать свой рабочий процесс, прежде чем они перейдут на какую-то другую платформу IDE, которая удовлетворяет потребности энтузиастов и профессионалов.
Thonny распространяется онлайн как автономный автоматизированный установщик, который развернет на ПК все, что необходимо для изучения основ программирования на Python. Даже автоматический установщик упрощен, чтобы исключить вероятность того, что он будет подавлять новичков во время своей короткой процедуры подготовки приложения к первому использованию. Оказавшись внутри приложения, студентам придется привыкнуть к очень простому пользовательскому интерфейсу, который способствует быстрому и легкому обучению.
- Беспроблемные переменные
- Простой отладчик
- Пошаговое вычисление выражений
- Точное представление вызовов функций
- Выделяет синтаксические ошибки
- Объясняет области
Приложение Thonny способствует использованию беспроблемных переменных, расширенного отладчика, который может выполнять пошаговую отладку, где учащиеся могут научиться лучше следовать структуре программы, как пошагово выполнять вычисление выражений, как обрабатывать вызовы функций и многое другое. Кодирование упрощается благодаря автоматическому выделению синтаксических ошибок, автозавершению кода и выделению различий между глобальными и локальными переменными.
Также включена поддержка удобной для начинающих системной оболочки для установки дополнительных пакетов, и совместимость плагинов для загрузки кода в несколько онлайн-направлений, и даже мод для темной темы графического интерфейса.
Thonny на 100% БЕСПЛАТНЫЙ и может быть легко установлен с помощью автоматического установщика на Windows 7, 8.1 и 10. Пользователям Windows Vista или XP необходимо будет выполнить другую процедуру установки, где Thonny и Python должны быть установлены отдельно.
Ознакомьтесь с инструкциями по установке на официальном сайте Thonny. Пользователи Windows 8 и 10 также могут получать «небезопасный» запрос SmartScreen из Защитника Windows. Это известная проблема, и пользователям просто нужно нажать «Дополнительная информация» и «Запустить в любом случае».