如何运行一个python下的的小游戏
首先安裝python參考文檔https://blog.csdn.net/qq_45502336/article/details/109531599?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165077163216782092949973%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=165077163216782092949973&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2alltop_positive~default-1-109531599.142v9control,157v4control&utm_term=python%E5%AE%89%E8%A3%85&spm=1018.2226.3001.4187
記得勾選path,運行。
win +r cmd
即python安裝成功,
再在這個命令行下
安裝pygame包即可指令如下
pip install pygame i https://pypi.tuna.tsinghua.edu.cn/simple/
安裝即可。下面是運行一個python下利用pygame包的小游戲步驟
總結
以上是生活随笔為你收集整理的如何运行一个python下的的小游戏的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 纯css实现科技感十足的方格闪烁背景
- 下一篇: What is Unified Exte