Skip to content

Instantly share code, notes, and snippets.

View HUrquhart's full-sized avatar
🏠
Working from home

Harley Urquhart HUrquhart

🏠
Working from home
  • Goulburn NSW Australia
  • 15:43 (UTC +10:00)
View GitHub Profile
@urschrei
urschrei / parseml.py
Last active August 18, 2024 03:03
Extract attachments from EML files in the current dir, and write them to the output subdir
#!/usr/bin/env python
"""
2020 update:
- More iterators, fewer lists
- Python 3 compatible
- Processes files in parallel
(one thread per CPU, but that's not really how it works)
"""