学习项目《外星人入侵》时,在“12.4.2在屏幕上绘制飞船”遇到pygame.error: Couldn't open images/ship.bmp问题
错误提示:pygame.error: Couldn't open images/ship.bmp
位置:
然后百度看了大家的方法原来需要改为绝对路径、开头加 'r' ,以及Windows系统用 ‘ \ ’(链接:https://blog.csdn.net/weixin_39449570/article/details/78436705)。
这时其实已经可以运行的,然后还是...
原创
2020-01-13 20:46:03 ·
822 阅读 ·
0 评论