os.path.join - Isn't working

Gregory Piñero gregpinero at gmail.com
Fri Jan 27 14:59:34 EST 2006


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)



More information about the Python-list mailing list