stat doesn't work!

Donn Cave donn at u.washington.edu
Mon Feb 9 12:22:45 EST 2004


In article <c08bdn$fq6$1 at sunnews.cern.ch>,
 Paulo Pinto <paulo.pinto at cern.ch> 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 u.washington.edu



More information about the Python-list mailing list