From e3f8e6cf2e94cc3c1410dfcb9444c6378c26f4f2 Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 11 Feb 2025 13:00:05 +0000 Subject: [PATCH 1/2] Add IDLE entries --- Doc/using/editors.rst | 13 +++++++++++++ Doc/using/unix.rst | 23 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/Doc/using/editors.rst b/Doc/using/editors.rst index f36f570125c119..10b1780bda58f4 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 `. +For more information see the :ref:`IDLE docs `. + + +Other Editors and IDEs +====================== + +Python's community wiki has information submitted by the community on Editors and IDEs. Please go to `Python Editors `_ and `Integrated Development Environments `_ for a comprehensive list. diff --git a/Doc/using/unix.rst b/Doc/using/unix.rst index a2bcdab09a9282..0319ee59f10e0b 100644 --- a/Doc/using/unix.rst +++ b/Doc/using/unix.rst @@ -35,6 +35,29 @@ 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 install idle-python3.x +* For Fedora, RHEL, and CentOS users:: + + sudo dnf install python3.x-idle + +* For SUSE and OpenSUSE users:: + + sudo zypper in python3.x-idle + +* For Alpine Linux users:: + + sudo apk add python3.x-idle + + On FreeBSD and OpenBSD ---------------------- From f8ca70f6a27c6c1fc3551a17df76e751adc429f1 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:03:19 +0000 Subject: [PATCH 2/2] Update Doc/using/unix.rst Co-authored-by: Petr Viktorin --- Doc/using/unix.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Doc/using/unix.rst b/Doc/using/unix.rst index 0319ee59f10e0b..9ed97f6fe85939 100644 --- a/Doc/using/unix.rst +++ b/Doc/using/unix.rst @@ -44,18 +44,20 @@ In some cases, IDLE might not be included in your Python installation. * For Debian and Ubuntu users:: - sudo apt install idle-python3.x + sudo apt update + sudo apt install idle + * For Fedora, RHEL, and CentOS users:: - sudo dnf install python3.x-idle + sudo dnf install python3-idle * For SUSE and OpenSUSE users:: - sudo zypper in python3.x-idle + sudo zypper in python3-idle * For Alpine Linux users:: - sudo apk add python3.x-idle + sudo apk add python3-idle