Skip to content

Instantly share code, notes, and snippets.

@sosmii
sosmii / parseml.py
Last active August 6, 2020 12:28 — forked from urschrei/parseml.py
オリジナル版だと2byte文字のデコードができないっぽいことがあったので一回decode_headerをかました
#!/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)
"""