summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>2025-02-12 08:16:56 (GMT)
committerGitHub <noreply@github.com>2025-02-12 08:16:56 (GMT)
commit555ee43d929ad4b917db2caee3f2c10a2636832c (patch)
treef0922cb233a463f05949a10a4559470c0ea053b4
parentb05fa90b21dd01bb836285cdd41920320b09e681 (diff)
downloadcpython-555ee43d929ad4b917db2caee3f2c10a2636832c.zip
cpython-555ee43d929ad4b917db2caee3f2c10a2636832c.tar.gz
cpython-555ee43d929ad4b917db2caee3f2c10a2636832c.tar.bz2
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>
-rw-r--r--Doc/using/editors.rst13
-rw-r--r--Doc/using/unix.rst25
2 files changed, 38 insertions, 0 deletions
diff --git a/Doc/using/editors.rst b/Doc/using/editors.rst
index f36f570..10b1780 100644
--- a/Doc/using/editors.rst
+++ b/Doc/using/editors.rst
@@ -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 Python’s 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.
diff --git a/Doc/using/unix.rst b/Doc/using/unix.rst
index a2bcdab..9ed97f6 100644
--- a/Doc/using/unix.rst
+++ b/Doc/using/unix.rst
@@ -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
----------------------