Re: os.path.join - Isn't working

2006-01-27 Thread Gregory Piñero
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

os.path.join - Isn't working

2006-01-27 Thread Gregory Piñero
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? -- Gr