Re: [Tutor] accessing an image with pygame.image.load()

2008-11-04 Thread W W
On Mon, Nov 3, 2008 at 8:37 PM, Jerry Hill <[EMAIL PROTECTED]> wrote: > Beyond what Bob says about being careful of the escape character ('\') > and the need to either double it up in a string literal or use a raw > string, are you sure that path is right? Usually a drive letter is > followed by

Re: [Tutor] accessing an image with pygame.image.load()

2008-11-03 Thread Jerry Hill
On Mon, Nov 3, 2008 at 7:05 PM, bob gailer <[EMAIL PROTECTED]> wrote: > Christopher Spears wrote: >> self.image = >> pygame.image.load("C:Users\Chris\Documents\python\assignment07\chris_graphics\spaceship.gif") >> > > Since \ is used to "escape" certain characters it is advisable to either use > \\

Re: [Tutor] accessing an image with pygame.image.load()

2008-11-03 Thread bob gailer
Christopher Spears wrote: 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

[Tutor] accessing an image with pygame.image.load()

2008-11-03 Thread Christopher Spears
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