用spyder打开Python脚本 [英] opening Python scripts with spyder
本文介绍了用spyder打开Python脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用anaconda和spyder以及MacOS X Yosemite.
I am using anaconda and spyder as well as MacOS X Yosemite.
如何使spyder成为打开python脚本的默认程序?当我单击脚本时,将使用TextEdit打开该脚本.当我单击打开"时,我无法选择spyder.
How can I make spyder the default program to open python scripts? When I just click on a script it is opened with TextEdit. When I click on open with I cannot choose spyder.
打开spyder,然后浏览到正确的脚本很麻烦.
It is bothering to open spyder and then browse to the correct script.
推荐答案
右键单击脚本->获取信息->然后在组合框中单击打开方式",选择其他",然后找到所需的二进制文件.选择二进制文件后,单击全部更改"
Right click on your script -> Get Info -> then 'open with' in the combobox choose 'other' then locate the binary you want. Once you have chosen your binary click on 'change all'
这篇关于用spyder打开Python脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文