stat doesn't work!

Donn Cave donn at
Mon Feb 9 18:22:45 CET 2004

In article <c08bdn$fq6$1 at>,
 Paulo Pinto <paulo.pinto at> wrote:
> I am doing an application that needs to
> know when it is manipulating symbolic links.

That's a special case, and therefore you have
to use a special version of stat().  stat()
will follow the link, so you get the original
file.  lstat() will report the link itself.

   Donn Cave, donn at

More information about the Python-list mailing list