Problem solved
AmanUllah6

Edit: The problem has been solved.

Hi, I'm trying to make a snake game and following a tutorial using pygame. My problem is when I use I try to load an image using block = pygame.image.load("resources/greenblock.jpg").convert() it gives me a file not found error even though I do have the file and it's in pictures. Any solutions?

(Link to tutorial: https://www.youtube.com/watch?v=8dfePlONtls&ab_channel=freeCodeCamp.org)

You are viewing a single comment. View All
Answered by MrVoo [earned 5 cycles]
View Answer
CodingElf66

Actually, just put the file outside the folder.

If you don't mind, mark as answered?

MrVoo

@CodingElf66 Imagine asking to be marked as answered after someone already answered 😏