stat

Constants/functions for interpreting results of os.stat() and os.lstat().

Suggested usage: from stat import *

Functions

S_IFMT(mode)
S_IMODE(mode)
S_ISBLK(mode)
S_ISCHR(mode)
S_ISDIR(mode)
S_ISFIFO(mode)
S_ISLNK(mode)
S_ISREG(mode)
S_ISSOCK(mode)