async watch directory for new files
Dieter Maurer
dieter at handshake.de
Sat Apr 24 12:52:05 EDT 2021
Zoran wrote at 2021-4-23 14:31 -0700:
>I need to watch for new files in directory, and when it shows up, I should create async task with file's full path for it, and wait for new file.
>
>If anyone here used a library for such task, please share which one.
The solution likely depends on the OS you are using.
For Linux, `inotify` informs applications about file system changes.
PyPI contains a binding for it -- with identical name.
More information about the Python-list
mailing list