DEV Community

Jeffrey.Feillp
Jeffrey.Feillp

Posted on

Automate Your Daily Tasks with Python Scripts

10 Python scripts that save hours every week.

1. File Organizer

import os, shutil
for f in os.listdir('.'):
    ext = f.split('.')[-1]
    os.makedirs(ext, exist_ok=True)
    shutil.move(f, f'{ext}/{f}')
Enter fullscreen mode Exit fullscreen mode

2. Email Sender

3. Backup Script

4. PDF Merger

All scripts under 30 lines.

Top comments (0)