Watch folder for new file and execute extern program

Larry Bates larry.bates at websafe.com
Mon Feb 5 10:47:49 EST 2007


Michael Bo wrote:
> Hi.
> Can anyone guide me on how to minitor a folder for new files? And when
> they appear I need to run and externe program with the file just
> created (buy a 3rd program).
> - Michael Bo
> 
Here is a link that should help.

http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_changes.html

BTW-It helps us out here if you let us know what platform you
are running on (e.g. Windows, Linux, Mac, etc.).

-Larry



More information about the Python-list mailing list