小编Pau*_*jak的帖子

当我关闭时,Pygame屏幕会冻结

代码加载了一个pygame屏幕窗口,但是当我单击X关闭它时,它会变得无法响应.我正在运行64位系统,使用32位python和32位pygame.

from livewires import games, color

games.init(screen_width = 640, screen_height = 480, fps = 50)

games.screen.mainloop()
Run Code Online (Sandbox Code Playgroud)

python pygame

3
推荐指数
1
解决办法
6875
查看次数

制作Python批处理文件

如何创建一个bat文件来运行python文件,特别是包含pygame.

python pygame batch-file

3
推荐指数
2
解决办法
3万
查看次数

标签 统计

pygame ×2

python ×2

batch-file ×1