I just started programming. I watched a you tube tutorial on how to create a hangman game with pygame. When it comes to loading images I get this:
***FileNotFoundError**
Traceback (most recent call last)
<ipython-input-1-03373876a9dc> in <module>
29 images = []
30 for i in range(7):
---> 31 image = pygame.image.load("hangman" + str(i) + ".png")
32 images.append(image)
33
FileNotFoundError: No such file or directory.*
The images (hangman 1...7)are located in the same folder as the ipynb for example the first one (C:\Users\basti\Documents\hangman\hangman1.png)
Can somebody help me with this? Thanks in advance :)