2

我对编程比较陌生,我使用的是 Wing101 版本:5.0.0-b8(rev 29847)。Wing101中的Python Shell,版本是2.7.2,如何配置才能打开python 3.3.2。

我已经下载了 Python 3.3.2,我需要自定义 Python 可执行文件。我之前尝试将“/usr/bin/python”作为我的自定义 python 可执行文件,但它不起作用。

我在 Mac 10.8.3 上

4

1 回答 1

1

The location of the python.exe for Python 3.3 can vary depending on how you installed it. Probably the best bet is to search w/ Spotlight for python.exe, press "Show All" in the drop down menu, change to "File Name" instead of "Contents" search and then click on results to see the full path at the bottom of the search results window. You'll get at least 2-3 results and the full path should make clear which is the correct one. Then enter that into Python Executable in the Configure Python dialog, accessed from the Source menu in Wing 101. You'll need to restart the Python Shell in Wing 101 from its Options menu before it switches to the new Python version.

于 2013-10-01T15:55:21.613 回答