Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# pylint: disable=invalid-name
"""mbox-extract-attachments3 - Extract attachments from mbox files.
Good companion for Google Takeout https://takeout.google.com/settings/takeout
Modified by http://github.com/kellerza from
https://github.com/PabloCastellano/pablog-scripts/
- Python3 & linter errors
- New Filenames
from docx import Document
from docx.shared import Inches
from docx.enum.table import WD_TABLE_ALIGNMENT
import docx.enum.table
from docx.enum.text import WD_ALIGN_PARAGRAPH
import random
document = Document()
all_acts=[

Keybase proof

I hereby claim:

  • I am AlecLangford on github.
  • I am aleclangford (https://keybase.io/aleclangford) on keybase.
  • I have a public key whose fingerprint is C994 4FB4 43B9 24B9 A45D B8BB 0AA4 7DA9 F757 2673

To claim this, I am signing this object: