在python中安裝pygame,
然后運行,出現以下結果:
AttributeError Traceback (most recent call last)
<ipython-input-16-769c0a800646> in <module>
5 pygame.init()
6 #新建視窗
----> 7 screen = pygame.dispaly.set_mode((640, 480))
8
9 # 設定視窗標題
AttributeError: module 'pygame' has no attribute 'dispaly'
這個問題該怎么處理?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/14028.html
標籤:其它游戲引擎
