I want to access a spaceship image with pygame.image.load(), so I wrote

self.image = 
pygame.image.load("C:Users\Chris\Documents\python\assignment07\chris_graphics\spaceship.gif")

However, I got this error message:

error: Couldn't open 
C:Users\Chris\Documents\python\assignment07\chris_graphics\spaceship.gif

I can't give pygame.image.load a path?  Does anyone know how I would load an 
image located in a seperate directory?




      
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to