Is it possible to run a Python script when a file has been added to a folder?
In my scenario I have a folder that contains movies and the Python script gets the details (name, year, plot, rating, etc) from OMDb and puts them into a file, which MySQL uses.
Every time I add a movie I have to run the Python script.
I want to know if it is possible to automatically run the Python script when a file has been added to the folder?
Thanks in advance.