So is there any way i can have python tell me whenever i open a file?
So if i open file.txt it will tell me that i opened it by printing out "you opened file.txt" or something, and that it would do this with whatever file i opened.
Example:
file = any files in the entire OS
if file == open:
print("you opened:", file)
so if i opened skype it would be:
"you opened: Skype.exe"
As you can see i have clearly no idea how to do this.
Im using python 3.4 and windows 8.1.
Tell me if there is anything i need to clarify.