|
发表于 2024-4-21 08:10:29
|
显示全部楼层
Python 3.12.1)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "F:\pycharm\.idea\pythonProject\fbnqsl.py", line 73, in <module>
class WanDou_sheshou(zhiwu):
File "F:\pycharm\.idea\pythonProject\fbnqsl.py", line 78, in WanDou_sheshou
imgs = [pygame.image.load('imgs/zhiwu/wandousheshou/' + str(i) + '.png') for i in range(1, 13 + 1)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: No file 'imgs/zhiwu/wandousheshou/1.png' found in working directory 'F:\pycharm\.idea\pythonProject'.
运行后显示这样!找不到指定的文件 |
|