运维网's Archiver
论坛
›
Mac OS
› Python 3 on Mac 10.7
iddnuinjtz
发表于 2016-5-17 11:48:23
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
页:
[1]
查看完整版本:
Python 3 on Mac 10.7