Getting other file permissions

Richard Townsend nospam at here.com
Mon Aug 30 10:02:05 EDT 2004


On Mon, 30 Aug 2004 13:11:32 +0200, Florian Lindner wrote:
> on a Unix System I want to get the file permissions for other. How to get
> this? Is os.stat("file").st_mode the right way? How to interpret the
> output?


See S_IMODE(mode) on page:

http://www.python.org/doc/2.3.4/lib/module-stat.html




More information about the Python-list mailing list