In windows at least, I can use os.stat(sFileName) to retrieve file
attributes, including modified time, accessed time, etc.?
Haven't used it, but, anyway:
http://docs.python.org/2/library/os.html#os.stat
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message -----
From: "OptiCar" <opti...@opticar.fr>
To: <python-win32@python.org>
Sent: Tuesday, December 17, 2013 11:53 AM
Subject: [python-win32] monitoring access to files
Hello,
i've not found method or module on python to monitor access to file,
on linux i've found dazuko,
all i found can monitor change, deleting renaming,
i've secondarly to monitor process, windows title and user operations,
in my research, i found that it is possible to catch the interruption 21
or else,
in scribing the adress of our code in Interrution Vector Table,
i would like a code wich works in every computer for every interruptions,
keyboard, mouse, files....
i think antivirus does done the same way, to "catch" files access.
on windows we have pyhook,
does any module could catch more than mouse or keyboard, and directly
files access?
we have to enter deep in computer works in assembler, but i think it could
be done.
does anybody heard a module or how could we monitor file access,
independently of partition table, or system in use.
thanks
OptiCar
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32