Pygame无法在VS Code中打开窗口

时间:2020-06-16 11:01:14

标签: python visual-studio-code pygame

我的pygame项目在使用终端或PyCharm运行时可以正常工作,但是在使用Visual Studio Code中的“在终端中运行Python文件”按钮运行时,则不会打开任何窗口。

屏幕底部的终端仍然显示正常:

pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html

然后进行更改,就像从终端窗口本身显示pygame窗口一样。终端窗口会更改颜色并填充字符,这些字符在我看来与屏幕的外观相同。

如何在VS Code中运行文件,以便像在终端中一样打开一个新窗口?

0 个答案:

没有答案