Skip to content

Instantly share code, notes, and snippets.

View beamzer's full-sized avatar

Ewald beamzer

View GitHub Profile
@beamzer
beamzer / parseml.py
Last active August 12, 2023 09:32 — forked from urschrei/parseml.py
Extract attachments from EML files in the current dir, and write them to the output subdir
#!/usr/bin/env python3.7
"""
source: https://gist.github.com/urschrei/5258588 by Stephan Hügel
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)