DirectoryWatcher2 and python
Posted: Mon Oct 10, 2011 11:06 pm
Hi!
When an event from DirectoryWatcher is generated ie. update I can see that the path to file generating the event is in the event.
How can I get that information and use it in a python script?
So what I want to do is:
1.An update event is triggered
2. launch a python script which will use the path to the triggered file
Is there any particular documentation that you would point me to, to find these things out?
Thanks on beforehand
-Andreas
When an event from DirectoryWatcher is generated ie. update I can see that the path to file generating the event is in the event.
How can I get that information and use it in a python script?
So what I want to do is:
1.An update event is triggered
2. launch a python script which will use the path to the triggered file
Is there any particular documentation that you would point me to, to find these things out?
Thanks on beforehand
-Andreas