1.4. PythonMac OS 9 上

Mac OS 9 不预装任何版本的 Python,但安装非常简单,而且只有一个选择。

请按照以下步骤在 Mac OS 9 上安装 Python

  1. http://homepages.cwi.nl/~jack/macpython/download.html 下载 MacPython23full.bin 文件。

  2. 如果您的浏览器没有自动解压缩文件,请双击 MacPython23full.bin 使用 Stuffit Expander 解压缩文件。

  3. 双击安装程序 MacPython23full

  4. 逐步执行安装程序。

  5. 安装完成后,关闭安装程序并打开 /Applications 文件夹。

  6. 打开 MacPython-OS9 2.3 文件夹。

  7. 双击 Python IDE 启动 Python

MacPython IDE 应该会显示一个启动画面,然后进入交互式 shell。如果交互式 shell 没有出现,请选择 窗口->Python 交互 (Cmd-0)。您将看到如下屏幕

Python 2.3 (#2, Jul 30 2003, 11:45:28)
[GCC 3.1 20020420 (prerelease)]
Type "copyright", "credits" or "license" for more information.
MacPython IDE 1.0.1
>>>