Sublime Text Interpreter does not work with GUI

2019-08-01 02:20发布

问题:

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.