Menu

Post image 1
Post image 2
1 / 2
0

Automate Your Daily Tasks with Python Scripts

DEV Community·Jeffrey.Feillp·30 days ago
#ymWby2pS
Reading 0:00
15s threshold

Jeffrey.Feillp

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.

Read More