Error: Couldn't Open Image
I'm working on a time based movement program in pygame. And I keep receiving this error. Traceback (most recent call last): File 'C:\Documents and Settings\Mohammad Raza\Desktop
Solution 1:
Also make sure the image is in the current working directory.
fullname = os.path.join('data', name)
image = pygame.image.load(fullname)
Solution 2:
Also it should be
time_passed_seconds = time_passed / 1000.
Post a Comment for "Error: Couldn't Open Image"