From 555ee43d929ad4b917db2caee3f2c10a2636832c Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Wed, 12 Feb 2025 08:16:56 +0000 Subject: gh-59149: Setup documentation for IDLE on Linux and add section in Editors (#130003) Co-authored-by: Petr Viktorin --------- Co-authored-by: Petr Viktorin --- Doc/using/editors.rst | 13 +++++++++++++ Doc/using/unix.rst | 25 +++++++++++++++++++++++++ 2 files changed, 38 insertions(+) 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 `. +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 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 ---------------------- -- cgit v0.12