Skip to content

Instantly share code, notes, and snippets.

@theDreamer911
Last active July 14, 2022 02:03
Show Gist options
  • Save theDreamer911/213e55fc57f0447275c480fbd1261c76 to your computer and use it in GitHub Desktop.
Save theDreamer911/213e55fc57f0447275c480fbd1261c76 to your computer and use it in GitHub Desktop.
This program will help extracting image from document files
import docx2txt
input_loc = input("Your docx location: ")
output_loc = input("Output location: ")
text = docx2txt.process(input_loc.split('"')[1], output_loc.split('"')[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment