pygame框架支持一个函数库,就是snaps库,利用snaps函数,我们可以在程序中方便添加文本、图像和声音。
Windows系统关于下载pygame:
1.Windows桌面的左下方右击Windows Start键
如何安装Python所需要的pygame库
2.出现以下菜单,选择Windows PowerShell
如何安装Python所需要的pygame库
3.出现以下界面,输入py -m pip install pygame --user再按下Enter键即可,等待安装完成
如何安装Python所需要的pygame库
Linux等系统的话直接在终端输入python3 -m pip install pygame --user即可

相关文章:

  • 2021-12-10
  • 2021-08-04
  • 2021-07-20
  • 2022-01-16
  • 2021-05-26
  • 2021-11-08
  • 2021-08-25
  • 2022-01-21
猜你喜欢
  • 2021-09-22
  • 2021-07-23
  • 2021-10-04
  • 2021-12-27
  • 2022-12-23
  • 2021-05-11
  • 2021-08-26
相关资源
相似解决方案