Getting File Permissions

Oleg Broytmann phd at phd.pp.ru
Mon May 13 08:45:12 EDT 2002


On Mon, May 13, 2002 at 05:36:28AM -0700, Garry Taylor wrote:
> Traceback (most recent call last):
>   File "filepermissions.py", line 5, in ?
>     mode = st[stat.ST_MODE]
> NameError: name 'stat' is not defined

   Name 'stat' is not defined. What have you missed here? ;)

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list