gh-59149: Setup documentation for IDLE on Linux and add section in Editors (#130003)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
---------

Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
Stan Ulbrych 2025-02-12 08:16:56 +00:00 committed by GitHub
parent b05fa90b21
commit 555ee43d92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 0 deletions

View file

@ -9,6 +9,19 @@
There are a number of IDEs that support Python programming language.
Many editors and IDEs provide syntax highlighting, debugging tools, and :pep:`8` checks.
IDLE --- Python editor and shell
================================
IDLE is Pythons Integrated Development and Learning Environment and is generally bundled with Python installs.
If you are on Linux and do not have IDLE installed see :ref:`Installing IDLE on Linux <installing_idle_on_linux>`.
For more information see the :ref:`IDLE docs <idle>`.
Other Editors and IDEs
======================
Python's community wiki has information submitted by the community on Editors and IDEs.
Please go to `Python Editors <https://wiki.python.org/moin/PythonEditors>`_ and
`Integrated Development Environments <https://wiki.python.org/moin/IntegratedDevelopmentEnvironments>`_
for a comprehensive list.

View file

@ -35,6 +35,31 @@ look at the following links:
https://slackbook.org/html/package-management-making-packages.html
for Slackware users
.. _installing_idle_on_linux:
Installing IDLE
~~~~~~~~~~~~~~~
In some cases, IDLE might not be included in your Python installation.
* For Debian and Ubuntu users::
sudo apt update
sudo apt install idle
* For Fedora, RHEL, and CentOS users::
sudo dnf install python3-idle
* For SUSE and OpenSUSE users::
sudo zypper in python3-idle
* For Alpine Linux users::
sudo apk add python3-idle
On FreeBSD and OpenBSD
----------------------