Python Forum
Launch Python IDLE Shell from terminal
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launch Python IDLE Shell from terminal
#1
Hello,
Searching the web I found a suggestion to type idle3 in the terminal.
Tried, doesn't work (neither idle, BTW).
Normally I launch idle from GUI.
But is it possible to run it from terminal ?
Any suggestions ?
Thanks.
P.S. My setup:
OS: Ubuntu 22.04
idle: IDLE Shell 3.10.6
Reply
#2
Python IDLE comes included in Python installations on Windows and Mac. In Linux you should be able to find and download Python IDLE using your package manager.

apt search idle

apt-cache madison idle
Pavel_47 likes this post
Reply
#3
The Best !
Thanks.
Reply
#4
One more question.
I've Python virtual environment, where particular packages are installed.
I launch IDLE from this environment and it's Ok.
But when I try import particular module of this environment, import fails.
Should I install IDLE also in this virtual environment in order to work with code that uses this particular module ?
Reply
#5
Try
Output:
python -m idlelib
Pavel_47 likes this post
Reply
#6
(Feb-17-2023, 02:37 PM)Gribouillis Wrote: Try
Output:
python -m idlelib

Also the Best !
Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  set -x shell equivalent of python, possible/available? ggpf900 1 513 Jan-25-2025, 08:01 PM
Last Post: Gribouillis
  updating pip, python - understanding terminal and pycharm. endlessnameless 0 1,254 Jun-24-2024, 05:48 AM
Last Post: endlessnameless
  Error on first Python launch garryp4 5 4,119 May-07-2024, 03:56 PM
Last Post: deanhystad
  Why can I not see the code correctly in Python IDLE.? Trump 8 2,600 Apr-04-2024, 07:47 AM
Last Post: jonesphedra
  Help creating shell scrip for python file marciokoko 10 3,547 Sep-16-2023, 09:46 PM
Last Post: snippsat
  invoking python in Terminal Euler 2 1,302 Aug-25-2023, 06:17 AM
Last Post: perfringo
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 2,172 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  Python Idle won't start totalmachine 9 5,880 Oct-16-2022, 05:57 PM
Last Post: totalmachine
  Why is IDLE not opening on a MacOS Montery 12.6 and using Python 3.10.7? Merlin385 7 3,273 Oct-08-2022, 08:36 PM
Last Post: Merlin385
  batch file for running python scipt in Windows shell MaartenRo 2 3,133 Jan-21-2022, 02:36 PM
Last Post: MaartenRo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020