Ask coding questions

← Back to all posts
i keep getting an error
victorgummah5 (1)

FileNotFoundError: [Errno 2] No such file or directory: 'stadiums.txt'

Comments
hotnewtop
InvisibleOne (3264)

I'm not sure what that error is, it must be some kind of bug, because I forked your repl and changed the name of the file and it works.
https://replit.com/@InvisibleOne/RowdyMediumorchidVariables#main.py

JamesGordon1 (157)

@InvisibleOne it might be an issue with the front being different in the name and the code? (idk how but maybe)

JamesGordon1 (157)

@InvisibleOne ya this is what seems to be the issue cause when I rewrite both of them it works but then fails due to a different error