一、当时打开Finder找Python默认安装位置的时候(Command + Shift + G)然后输入路径 /usr/bin/local 找到后、往上翻啊翻、又找到了idle的Unix可执行文件,也就是/usr/bin/idle。双击打开后、运行可执行文件的同时、出来了个小火箭Python 2.7.10 Shell的编辑器。提示如下
Python 2.7.10 (default, Oct 6 2017, 22:29:07)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit http://www.python.org/download/mac/tcltk/ for current information.
这就是Mac自带的Python编辑器、但是不稳定。
二、然后去上述网址、从Downloads找到了Mac OS X的Python版本。地址如下
https://www.python.org/downloads/mac-osx/