Watchdog ignore pattern
问题 I tried working with other posts on here about this, but couldn't get it to work. I'm a newbie with Python. I need help with ignore_pattern . I'm uploading images to a folder and temporarily images are being added with __ , so the actual image added while file is uploading is __image-name.jpg . After it's done uploading it gets added again as image-name.jpg (and deletes the __image-name.jpg . I want to ignore all the __image-name.jpg files with watchdog. Here's my code: class Watcher: