Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do I launch IDLE, the development environment for Python, on Mac OS 10.7?

I am running python 2.7.1. I can't figure out how to launch the IDLE IDE. I am told it comes already installed with python, but I can't find it using spotlight.

like image 596
Deonomo Avatar asked Jan 09 '12 16:01

Deonomo


People also ask

Does IDLE Python work on Mac?

Your best way to get started with Python on macOS is through the IDLE integrated development environment, see section The IDE and use the Help menu when the IDE is running. If you want to run Python scripts from the Terminal window command line or from the Finder you first need an editor to create your script.

Why is Python IDLE not working Mac?

It appears that if the Files & Folder security setting is set to disallow access to your Documents Folder, IDLE. app will fail on startup but it will launch from the command line. Check the following in System Preferences. Apple Menu (upper left corner) -> System Preferences -> Security & Privacy.


1 Answers

In the stock Mac OS X python installation, idle is found in /usr/bin, which is not (easily) accessible from Finder and not indexed by Spotlight. The quickest option is to open the Terminal utility and type 'idle' at the prompt. For a more Mac-like way of opening it, you'll have to create a small app or shortcut to launch /usr/bin/idle for you (an exercise left to the reader).

like image 111
chepner Avatar answered Oct 11 '22 17:10

chepner