Skip to content

Instantly share code, notes, and snippets.

@another-junior-dev
another-junior-dev / image_mod.py
Last active December 4, 2020 04:32
A script to extract images from .zip, .docx, .xlsx, and .pptx
#!/usr/bin/python3
import os
import shutil
import logging
import argparse
import tempfile
from pathlib import Path
from zipfile import ZipFile