Susana Iraiis Delgado Rodriguez wrote:
Hello list!!!
I want to get the last user who accessed to a file, I already have the way
to know who owns the file, but I really need to get this information.
To get file user I'm using: os.environ.get("USERNAME") and to get the
machine host: socket.gethostname()
Is there a way to find out who used the file for the last time?
I don't believe so. As far as I know, that information simply isn't
recorded anywhere.
--
Steven
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor