File attributes - How to get?
Andrew Bennetts
andrew-pythonlist at puzzling.org
Sat Jan 4 22:52:45 EST 2003
On Sat, Jan 04, 2003 at 10:34:44PM -0500, Doug Glenn wrote:
> Greetings,
>
> What module/function call is there to acess a file attributes? I don't
> know if I am looking at the wrong name or what, but I cannot find a
> routine to return the same information ls -l (LS -L) will return on
> Linux. I am wanting to get the owner, group and other permissions in
> addition to the owner and group assigned to the file.
os.stat
-Andrew.
More information about the Python-list
mailing list