os module contains function chflags
that allows user to modify UNIX file flags: https://docs.python.org/3/library/os.html
Is there a function that would let me see which flags the file currently has?
I am asking about file flags (equivalent of unix command lsattr or chattr) not permissions (chmod etc)