Skip to content

Instantly share code, notes, and snippets.

@another-junior-dev
another-junior-dev / image_mod.py
Last active February 26, 2025 17:49
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