I have a Pygame project in a folder called "Project". In it is my code and another folder named "Images". I want to load an image in the "Images" folder, but every time I try to do so, it comes with up an error, saying:
pygame.error: Couldn't open Images/Frame1.png
I've tried using:
image = pygame.image.load("Frame1.png")
,
image = pygame.image.load("Images/Frame1.png")
, image = pygame.image.load("Images/Frame1.png").convert()
and image = pygame.image.load("Images/Frame1.png").convert_alpha()
.
Bare in mind that I've only imported the Pygame module.
All the codes above come up with the same error. I'm using Python v3.7.3 for Mac OSX. Any help would be greatly appreciated.