os.path.join("/a","/b")
Matthew Dixon Cowles
matt at mondoinfo.com
Thu Feb 22 18:36:55 EST 2001
On Thu, 22 Feb 2001 22:36:09 GMT, Fredrik Lundh <fredrik at pythonware.com> wrote:
>the rationale is probably that it's a good idea if
>
> os.path.join(os.getcwd(), filename)
>
>refers to the same file as:
>
> filename
>
>for any filename.
Thanks to you and Joshua for the clues. I'm sure that you and he are
right about the rationale. Still, I'd have chosen a name other than
join for that behavior.
Regards,
Matt
More information about the Python-list
mailing list