strange interaction between open and cwd

Baz Walter bazwal at ftml.net
Mon May 3 13:56:59 EDT 2010


On 03/05/10 18:41, Grant Edwards wrote:
> On 2010-05-03, Baz Walter<bazwal at ftml.net>  wrote:
>
>> i think what i'm asking for is a python function that, given, say, a
>> valid file descriptor, can return the file's full path.
>
> Firstly, a file may have any number of paths (including 0).

yes, of course. i forgot about hard links - that pretty much kills that 
idea. oh well.



More information about the Python-list mailing list