Using Mac Finder Manager, navigate to your Downloads directory, and double-click on the python-3.6.5-macosx10.6.pkg file to install Python, Tkinter, and IDLE. Your browser will download the file python-3.6.5-macosx10.6.pkg to your Downloads directory. In the resulting page click on the Download Python 3.6.5 button. Perform these steps to download and install Python, IDLE, Tkinter, NumPy, and PyGame:Ä«rowse to the Python for Mac download page. We recommend that you download and install Python 3, and use Python 3 exclusively when running programs associated with this booksite. This document instead uses the equivalent Unix term directory. Note: The Mac Finder application uses the term folder to mean a container of documents and, perhaps, other folders.
These instructions are for MacOS X 10.13 (High Sierra), but the instructions for other recent versions of Mac OS X are similar. All of the software is freely available on the Web.
This page tells you how to setup a Python programming environment for your Mac OS X computer and provides a step-by-step guide for creating and running a simple "Hello, world" Python program. Your First Program in Python 3 on Mac OS X