Sublime Text Interpreter不适用于GUI [英] Sublime Text Interpreter does not work with GUI
问题描述
我当时使用崇高的文字2编写一些python代码,并且我配置为使用python解释器.因此,我注意到,对于像这样的简单代码:
I was using sublime text 2 to write some python code, and i configured to use the interpreter for python. So, i noticed that for simple code like this:
当我按下:ctrl + B
但是,当我想与另一个使用Gui代码的人做同样的事情时,这是行不通的,正如您在此处看到的那样:
But, when i want to do the same with another that uses Gui code, it does not work, as you can see here:
可能是什么问题?我想念什么吗?
What could be the problem? Am i missing something?
感谢您的时间和答复.
推荐答案
SublimeText's default build systems suppress GUIs in Windows.
您可以使用 控制台Exec 或编写自定义 构建系统 以允许执行GUI.
You can use Console Exec or write a custom build system to allow GUI execution.
这是 一个示例 我为个人使用而开发的构建系统.
Here's an example of a build system I developed for personal use.
这篇关于Sublime Text Interpreter不适用于GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!