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

W W srilyk at gmail.com
Tue Nov 4 12:22:09 CET 2008

On Mon, Nov 3, 2008 at 8:37 PM, Jerry Hill <malaclypse2 at gmail.com> 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 a backslash in windows.  That is, "C:\Users\Chris" rather
> than "C:Users\Chris".

And just FYI, you can use forward slashes, even in windows:

In [50]: cd D:/Program\ Files/
D:\Program Files

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081104/2783f8fd/attachment.htm>

More information about the Tutor mailing list