Skip to content

Latest commit

 

History

History
2 lines (1 loc) · 302 Bytes

README.md

File metadata and controls

2 lines (1 loc) · 302 Bytes

This Python code sets up a file watching mechanism using the watchdog library. It monitors the "Downloads" directory (DIRECTORY_TO_WATCH) for any file creation or modification events. When a file is created, it moves the file to a subdirectory within the "Downloads" directory based on the file type.