Skip to content

Instantly share code, notes, and snippets.

View xiaolongbao-dimsum's full-sized avatar

xiaolongbao-dimsum

View GitHub Profile
@xiaolongbao-dimsum
xiaolongbao-dimsum / parseml.py
Last active March 25, 2022 09:45 — forked from urschrei/parseml.py
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)
2022 update (xiaolongbao-dimsum)