Dec-04-2020, 04:16 AM
I just tried that, and I got the FileNotFound error.
Error:Traceback (most recent call last):
File "C:\Users\ZULU\AppData\Local\Programs\Python\Python37-32\Zion_Python Games\First Pygame\First Pygame.py", line 15, in <module>
icon = pygame.image.load("C:/Users/ZULU/AppData/Local/Programs/Python/Python37-32/Zion_Python Games/First Pygame/cannon.png")
FileNotFoundError: No such file or directory.
checking the path did appear false too when I checked it with the os module too, if that tells more of what is going on.os.path.exists('C:/Users/ZULU/AppData/Local/Programs/Python/Python37-32/Zion_Python Games/First Pygame/cannon.png')Any other suggestions?