strange interaction between open and cwd

Grant Edwards invalid at invalid.invalid
Mon May 3 12:34:12 EDT 2010


On 2010-05-03, Baz Walter <bazwal at ftml.net> wrote:

>>> (something like the environment variable $PWD). shame that
>>> os.getenv('PWD') isn't reliable, as it would solve my issue :(
>>
>> I don't understand what you mean by that.
>
> i'm trying to understand how the path of the cwd can be known if there 
> is no entry for it in the filesytem

It can't.  That's why cwd() failed.

> - but this is starting to get a little OT, so i won't pursue it here
> any longer.

OK.

-- 
Grant Edwards               grant.b.edwards        Yow! Should I do my BOBBIE
                                  at               VINTON medley?
                              gmail.com            



More information about the Python-list mailing list