美文网首页
使用Xcode运行python

使用Xcode运行python

作者: 为何与何用 | 来源:发表于2019-01-15 13:55 被阅读0次
1.创建运行脚本项目
image
选择工程项目


image
工具目录就是python安装目录,可在终端使用 which python 命令查找,一般都为/usr/bin/python

2.配置
image
根据python路径选择python


image
新建一个与python文件名一致的argument


image
选择工程目录,也就是python文件目录

3.创建python可编辑文件
image


image

相关文章

网友评论

      本文标题:使用Xcode运行python

      本文链接:https://www.haomeiwen.com/subject/qncarqtx.html