whoa there, pardner!
Your request has been blocked due to a network policy.
Try logging in or creating an account here to get back to browsing.
If you’re running a script or application, please register or sign in with your developer credentials here. Additionally make sure your User-Agent is not empty and is something unique and descriptive and try again. if you’re supplying an alternate User-Agent string, try changing back to default as that can sometimes result in a block.
You can read Reddit’s Terms of Service here.
if you think that we’ve incorrectly blocked you or you would like to discuss easier ways to get the data you want, please file a ticket here.
when contacting us, please include your ip address which is: 178.175.141.248 and reddit account
Thonny

Easy to get started. Thonny comes with Python 3.10 built in, so just one simple installer is needed and you’re ready to learn programming. (You can also use a separate Python installation, if necessary.) The initial user interface is stripped of all features that may distract beginners.
No-hassle variables. Once you’re done with hello-worlds, select View → Variables and see how your programs and shell commands affect Python variables.
Simple debugger. Just press Ctrl+F5 instead of F5 and you can run your programs step-by-step, no breakpoints needed. Press F6 for a big step and F7 for a small step. Steps follow program structure, not just code lines.
Step through expression evaluation. If you use small steps, then you can even see how Python evaluates your expressions. You can think of this light-blue box as a piece of paper where Python replaces subexpressions with their values, piece-by-piece.
Faithful representation of function calls. Stepping into a function call opens a new window with separate local variables table and code pointer. Good understanding of how function calls work is especially important for understanding recursion.
Highlights syntax errors. Unclosed quotes and parentheses are the most common beginners’ syntax errors. Thonny’s editor makes these easy to spot.
Explains scopes. Highlighting variable occurrences reminds you that the same name doesn’t always mean the same variable and helps spotting typos. Local variables are visually distinguished from globals.
Mode for explaining references. Variables are initially presented according to simplified model (name → value) but you can switch to more realistic model (name → address/id → value).
Code completion. Students can explore APIs with the help of code completion.
Beginner friendly system shell. Select Tools → Open system shell to install extra packages or learn handling Python on command line. PATH and conflicts with other Python interpreters are taken care of by Thonny.
Simple and clean pip GUI. Select Tools → Manage packages for even easier installation of 3rd party packages.
Demo

Credits

From 2014 to 2018 the main development of Thonny took place in Institute of Computer Science of University of Tartu, Estonia.
Since September 2018 development of Thonny is partially supported by Cybernetica AS.

Development of several features in Thonny 3.0 and 3.3 was proposed and supported by Raspberry Pi Foundation.
Instructions & downloads
Latest stable releases are linked in the download box at the top of this page. Older releases and prereleases can be found at https://github.com/thonny/thonny/releases
Plug-ins
These are some known Thonny plug-ins:
- thonny-gitonic adds a command for opening gitonic
thonny-black-format(abandoned)- thonny-black-formatter adds a command for formatting current file with Black
- thonny-ev3dev allows uploading code to EV3 (and much more)
- thonny-error-explainer extends Assistant with new error checkers
- thonny-lahendus allows loading exercises from lahendus.ut.ee and submitting solutions for automatic assessment.
- thonny-edison allows uploading Python code to Edison educational robot
- thonny-dracula adds Dracula syntax theme.
- thonny-onedark adds One Dark syntax theme.
- thonny-crosshair adds commands for invoking CrossHair analyzer.
- thonny-icontract-hypothesis adds commands for invoking icontract-hypothesis analyzer.
- thonny-py5mode adds py5 support for a Processing-like creative coding environment.
- ThonnyFlake8 adds warnings from flake8.
- thonny-autosave adds the option for auto-saving your script in every 10 seconds.
Contact & News
- Changelog
- Forum / mailing list
- Issues
- GitHub Discussions
Papers
- Thonny, a Python IDE for learning programming (poster paper at ITiCSE’15)
- Introducing Thonny, a Python IDE for learning programming (short paper at Koli Calling’15)
Установка дополнительных модулей в Python
Все движется, все меняется. Совершенствуется и Python 3. Теперь в него добавлена возможность установки дополнительных модулей с помощью командной строки Windows.
Чтобы установить, например, PyGame, выполните следующие операции:
1. Запустите командную строку Windows

Рис. 1 Командная строка Windows 7
2. Наберите и выполните команду pip install pygame. Все остальное произойдет в автоматическом режиме. Программа сама скачает и установит данный модуль:

Рис 2. Установка библиотеки PyGame
Есть только два момента. Первый, это Ваш антивирус. Он наверняка спросит, доверяете ли Вы предложению pip? Смело отвечайте «Да» )
Второе. Python не добавлен в переменную PATH. В этом случае установка будет несколько сложнее — нужно полностью указать путь к pip. У меня, к примеру, Python установлен в папку C:\Python3. Тогда, для установки с помощью pip, мне нужно было бы использовать следующую команду:
C:\Python3\Scripts\pip install pygame
Результат будет таким же как и в предыдущем случае.
Проверяем результат. Открываем IDLE и вводим инструкцию import pygame. Если Вы не увидели никаких сообщений об ошибке, то все прошло успешно. Пользуйтесь на здоровье )

Рис 3. Успешный импорт PyGame
Установка других модулей или библиотек происходит аналогичным образом.
Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
thonny / thonny Public
InstallingPackages
Aivar Annamaa edited this page Jun 4, 2020 · 5 revisions
With pip-GUI
From the «Tools» menu select «Manage packages. » and follow the instructions.
With pip on command line
- From the «Tools» menu select «Open system shell. «. You should get a new terminal window stating the correct name of the pip command (usually pip or pip3 ). In the following I’ve assumed the command name is pip .
- Enter pip install (eg. pip install pygame ) and press ENTER. You should see pip downloading and installing the package and printing a success message.
- Close the terminal (optional)
- Return to Thonny
- Reset the interpreter by selecting «Stop/Reset» from the «Run menu» (this is only required the first time you do the pip install)
- Start using the package
Using scientific Python packages
The Python distribution that comes with Thonny doesn’t contain scientific programming libraries (e.g. NumPy and Matplotlib).
Recent versions of most popular scientific Python packages (eg. numpy, pandas and matplotlib) have wheels available for popular platforms so you can most likely install them with pip but in case you have trouble, you could try using Thonny with a separate Python distribution meant for scientific computing (eg. Anaconda, Canopy or Pyzo).
Example: Using Anaconda
Go to https://www.continuum.io/downloads and download a suitable binary distribution for your platform. Most likely you want the graphical installer and the 64-bit version (you may need a 32-bit version if you have a very old system). Note that Thonny supports only Python 3, so make sure you choose a Python 3 version of Anaconda.
Install it and find out where it puts the Python executable (python.exe in Windows and python3 or python in Linux and Mac). For example in Windows the full path is by default c:\anaconda\python.exe .
In Thonny, open the «Tools» menu and select «Options. «. In the options dialog, open the «Intepreter» tab, click «Select executable» and show the location of Anaconda’s Python executable.
After you have done this, the next time you run your program, it will be run through Anaconda’s Python and all the libraries installed there will be available.
Thonny’s main developers are not native English speakers. Feel free to create an issue if you spot a grammar or style error in the wiki.