Wow, sorry I sent that a little too fast. I just had to remove the \\ before the graphics. Thus this did work:
os.path.join('C:\\Documents and Settings\\Gregory','graphics\\knight\\been hit e0001.bmp') -Greg On 1/27/06, Gregory Piñero <[EMAIL PROTECTED]> wrote: > Would someone mind explaining this seemingly strange behavior of > os.path.join to me? > > [Dbg]>>> os.path.join('C:\\Documents and > Settings\\Gregory','\\graphics\\knight\\been hit e0001.bmp') > >>'\\graphics\\knight\\been hit e0001.bmp' > > And what is the right way to reference this path relatively? > > -- > Gregory Piñero > Chief Innovation Officer > Blended Technologies > (www.blendedtechnologies.com) > -- Gregory Piñero Chief Innovation Officer Blended Technologies (www.blendedtechnologies.com) -- http://mail.python.org/mailman/listinfo/python-list