Finding the attributes of a file

venutaurus539 at venutaurus539 at
Wed Feb 25 02:10:37 EST 2009

Hello all,
           I am writing an application which has to identify the
archived files in a given directory.I've tried using the function
i = win32api.GetFileAttributes (full_path)

to obtain the attributes.But am unable to identify based on the value
it returns as it is returning 5152, 13856 etc for different files but
all of them are archived. Is there any way to come to a conclusion
using these numbers about whether a file is archived or not.

Thanks in advance,

More information about the Python-list mailing list