Sublime Text 3 running PyQt5 code can not display the window

Sublime Text 3 running PyQt5 code can not display the window

problem:

The GUI code of PyQt is written in Sublime Text 3. Ctrl+B can run, but the window cannot be displayed.

solve:

In C:\Users\Caviar\AppData\Roaming\Sublime Text 3\Packages\User\Pyhton3.sublime-buildadd keywords "shell":trueto.

Can also be Tools> Build System> New Build SystemLocate the Pyhton3.sublime-buildfile and right-to Sublime Text 3software to open it for editing.

Insert picture description here

Insert picture description here

Guess you like

Origin blog.csdn.net/caviar126/article/details/114288258