Ask coding questions

← Back to all posts
File not found error
Shafim61 (1)

Guys, I made some games using pygame 3 months ago. That time it was running very well. But suddenly at the end of last month, I noticed that it was showing "no such file in directory"(regarding images or audios).
The files are there. But it is showing error. Same problem when I run my code in vs code in my pc.Actually what is happening? can anyone help?

Comments
hotnewtop
RYANTADIPARTHI (6020)

Solution

maybe it was after a long time, you didn't open it or something, and it doesn't realize those files. Try updating those files. meaning delete them, and upload them again.