Python 3 on Mac 10.7Mac OS X 10.7 下安装了Python 3后,就说明你已经有了Python2 and Python 3两套环境了
Python 3 on Mac 10.7
Mac OS X 10.7 下安装了Python 3后,就说明你已经有了Python2 and Python 3两套环境了。
?
如果需要指定环境那么py文件头上写#!时候路径分别为
?
python 3
?
#!/Library/Frameworks/Python.framework/Versions/3.2/bin/python3?
?
python2?
?
#!/usr/bin/python?
