Sublime Text Interpreter does not work with GUI

末鹿安然 提交于 2019-12-11 12:52:26

问题


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:

The interpreter works fine as you can see, after I press: ctrl + B

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?

Thank you for your time and answers.


回答1:


SublimeText's default build systems suppress GUIs in Windows.

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.



来源:https://stackoverflow.com/questions/36752753/sublime-text-interpreter-does-not-work-with-gui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!