首页 > 编程语言 > 详细

[转]在Xcode中编辑运行 Python 脚本

时间:2015-03-29 01:49:08      阅读:344      评论:0      收藏:0      [点我收藏+]

http://www.zhihu.com/question/19872198

打开Xcode,File->New->Project
选中OS X下的Other
点击External Build System 然后Next。
Build Tool填写你的python解释器,如/usr/bin/python
创建工程后,File->New->File->OS X->Other ->Empty->Next。
创建好后,点选菜单栏Product->Edit Scheme。
更改RUN->Info->Executable选项为/usr/bin/python。
可以直接Cmd+Shift+G快捷键进行输入回车即可 。
Debugger项选为None。
然后点RUn->Arguments->Arguments Passed On Launch下的+号
添加你的code file路径。
最后OK返回即可

[转]在Xcode中编辑运行 Python 脚本

原文:http://www.cnblogs.com/mobilefeng/p/4375125.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!