How to import pygame.locals successfully

后端 未结 4 1129
[愿得一人]
[愿得一人] 2021-01-17 01:21

Hello there Stackoverflowers,

I am learning how to program with Pygame and I am trying to import pygame.locals According to the tutorial I am learning from, I am sta

4条回答
  •  [愿得一人]
    2021-01-17 01:55

    My guess is that you have a file named pygame.py in the current directory in which you are running you script.

提交回复
热议问题