安装Pygame
可以使用pip install pygame 安装,当然你也可以从www.pygame.org下载pygame,选择合适你的操作系统和合适的版本。安装成功后,打开命令窗口,可用下面方法确认有没有安装成功:
>>> import pygame pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html
安装Pygame
可以使用pip install pygame 安装,当然你也可以从www.pygame.org下载pygame,选择合适你的操作系统和合适的版本。安装成功后,打开命令窗口,可用下面方法确认有没有安装成功:
>>> import pygame pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html