File name from file descriptor?

Carsten Gaebler clpy at snakefarm.org
Fri Jun 22 08:03:11 EDT 2001


Hi there!

How can I determine a file's name if I only have the file descriptor?
os.fdopen(fd).name just returns '(fdopen)'.

Regards
Carsten.



More information about the Python-list mailing list