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
  Why can I not see the code correctly in Python IDLE.? Trump 8 719 Apr-04-2024, 07:47 AM
Last Post: jonesphedra
  Help creating shell scrip for python file marciokoko 10 1,380 Sep-16-2023, 09:46 PM
Last Post: snippsat
  invoking python in Terminal Euler 2 641 Aug-25-2023, 06:17 AM
Last Post: perfringo
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 1,105 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  Python Idle won't start totalmachine 9 3,541 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 1,721 Oct-08-2022, 08:36 PM
Last Post: Merlin385
  batch file for running python scipt in Windows shell MaartenRo 2 1,901 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  What do i have to type in the IDLE shell to use this password manager program? MaartenRo 4 1,754 Jan-15-2022, 02:01 PM
Last Post: MaartenRo
  MAC Python IDLE issue shadow12 4 2,569 Oct-29-2021, 12:22 AM
Last Post: shadow12
  Python MYSQL connection does not work after 1h idle zazas321 9 6,839 Oct-07-2021, 12:02 PM
Last Post: ndc85430

Forum Jump:

User Panel Messages

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