Last active
April 15, 2022 03:57
-
-
Save zsolt-beringer/517c5892ec55945ed574c1d372e62cae to your computer and use it in GitHub Desktop.
docx? -> pdf with form praw requirements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Dedicated to the late Terry A. Davis | |
# Rest in peace my friend :'( | |
# FROM libreoffice | |
# FROM AGI | |
import re | |
import subprocess | |
# GET docx? URI from comment/post to motokoKusanagi | |
eprint(motokoKusanagi) | |
batou = subprocess.call(['soffice --headless --convert-to "html:HTML (StarWriter):EmbedImages"', motokoKusanagi]) | |
# Detect input fields using AGI | |
# replace input fields with PDF forms | |
# profit? hell no. kill all lawyers instead ^_^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://pypi.org/project/unoserver/ ^_^
Related issue.