import os
import stat
s = os.stat('0.py')
print(s)
print(stat.S_ISDIR(s.st_mode))
print(stat.S_ISCHR(s.st_mode))
print(stat.S_ISBLK(s.st_mode))
print(stat.S_ISREG(s.st_mode))
print(stat.S_ISFIFO(s.st_mode))
print(stat.S_ISLNK(s.st_mode))
print(stat.S_ISSOCK(s.st_mode))
print(stat.S_ISDOOR(s.st_mode))
print(stat.S_ISPORT(s.st_mode))
print(stat.S_ISWHT(s.st_mode))
print(stat.S_IMODE(s.st_mode))
print(stat.S_IFMT(s.st_mode))
print(stat.filemode(s.st_mode))
print(stat.ST_MODE)
print(stat.ST_INO)
print(stat.ST_DEV)
print(stat.ST_NLINK)
print(stat.ST_UID)
print(stat.ST_GID)
print(stat.ST_SIZE)
print(stat.ST_ATIME)
print(stat.ST_MTIME)
print(stat.ST_CTIME)
print(stat.S_IFSOCK)
print(stat.S_IFLNK)
print(stat.S_IFREG)
print(stat.S_IFBLK)
print(stat.S_IFDIR)
print(stat.S_IFCHR)
print(stat.S_IFIFO)
print(stat.S_IFDOOR)
print(stat.S_IFPORT)
print(stat.S_IFWHT)
print(stat.S_ISUID)
print(stat.S_ISGID)
print(stat.S_ISVTX)
print(stat.S_IRWXU)
print(stat.S_IRUSR)
print(stat.S_IWUSR)
print(stat.S_IXUSR)
print(stat.S_IRWXG)
print(stat.S_IRGRP)
print(stat.S_IWGRP)
print(stat.S_IXGRP)
print(stat.S_IRWXO)
print(stat.S_IROTH)
print(stat.S_IWOTH)
print(stat.S_IXOTH)
print(stat.S_ENFMT)
print(stat.S_IREAD)
print(stat.S_IWRITE)
print(stat.S_IEXEC)
print(stat.UF_NODUMP)
print(stat.UF_IMMUTABLE)
print(stat.UF_APPEND)
print(stat.UF_OPAQUE)
print(stat.UF_NOUNLINK)
print(stat.UF_COMPRESSED)
print(stat.UF_HIDDEN)
print(stat.SF_ARCHIVED)
print(stat.SF_IMMUTABLE)
print(stat.SF_APPEND)
print(stat.SF_NOUNLINK)
print(stat.SF_SNAPSHOT)
print(stat.FILE_ATTRIBUTE_ARCHIVE)
print(stat.FILE_ATTRIBUTE_COMPRESSED)
print(stat.FILE_ATTRIBUTE_DEVICE)
print(stat.FILE_ATTRIBUTE_DIRECTORY)
print(stat.FILE_ATTRIBUTE_ENCRYPTED)
print(stat.FILE_ATTRIBUTE_HIDDEN)
print(stat.FILE_ATTRIBUTE_INTEGRITY_STREAM)
print(stat.FILE_ATTRIBUTE_NORMAL)
print(stat.FILE_ATTRIBUTE_NOT_CONTENT_INDEXED)
print(stat.FILE_ATTRIBUTE_NO_SCRUB_DATA)
print(stat.FILE_ATTRIBUTE_OFFLINE)
print(stat.FILE_ATTRIBUTE_READONLY)
print(stat.FILE_ATTRIBUTE_REPARSE_POINT)
print(stat.FILE_ATTRIBUTE_SPARSE_FILE)
print(stat.FILE_ATTRIBUTE_SYSTEM)
print(stat.FILE_ATTRIBUTE_TEMPORARY)
print(stat.FILE_ATTRIBUTE_VIRTUAL)
