
denied,就是权限不够,把你的要运行的文件权限改一下就可以了
chmod
777
filename,
用Geany在Ubuntu软件中心自己的描述来说:Geany is a small and lightweight integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It is using only the GTK2 toolkit and therefore you need only the GTK2 runtime libraries to run Geany.
(Geany是一个小巧且轻量级的集成开发环境。它的开发就是为了提供一个极少依赖其他包的小而快速的IDE。它仅使用GTK2的工具集,因此,你仅使用GTK2的运行库就可以运行它。)
而GTK在官网对自己的描述则是:
GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites.
(GTK+,或GIMP工具集,是一款用于创建图形用户界面的跨平台工具集。GTK+为适应从一次性小工具到完整的应用套件项目,提供一套完整的部件设备。)
以上两段描述不难看出,GTK是一个工具集,而Geany是建立在这个工具集上面的一套集成开发环境。类似于Windows下VC和MFC的关系
第一步,下载Geany,在百度里搜Geany点开Geany:Home Page第二步,在Download里点Releases.
第三步,点windows下的下载程序下载,下载好后设置安装文件夹,然后一路安装。
第四步,安装好之后打开Geany,点“生成”设置生成命令。
第五步,在设置生成命令里需要Python的安装位置,这时候找到Python,点文件所在位置,找到后右键点“属性”里面有Python的目标位置。
第六步,把目标位置复制粘贴到Geany的设置生成命令中,例如我的Python在C:\Users\739578083\AppData\Local\Programs\Python\Python36\python.exe,把后面的.exe去掉,加上“%f”,就是C:\Users\739578083\AppData\Local\Programs\Python\Python36\python
“%f”,在"%f"之前需要有个空格。
第七步,在Execute后面和Compile填写的内容基本一样,就是C变成小c,c:\Users\739578083\AppData\Local\Programs\Python\Python36\python "%f"。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)