Ask coding questions

← Back to all posts
Help with Python3 LaTeX to PDF?
iamogre (1)

Hello!
I'm trying to create a PDF from LaTeX in Python and I am at the point where I have no idea what an error means, or why it's happening and Google has failed me.
The Error is "007.tex: 1: 007.tex: pdflatex: not found" which seems to run in an odd order compared to what i'm printing.
Does anyone know what I'm missing here?

https://repl.it/@iamogre/LaTeX2BusinessCard1

(The majority of this code comes from this stackexchange question https://tex.stackexchange.com/questions/270714/automatic-document-generation-based-on-a-database which seemed to fit my needs...)

Commentshotnewtop
malvoliothegood (182)

Do you understand the code you copied and pasted? If you don't then its best not to use it.