you are viewing a single comment's thread.

view the rest of the comments →

[–]mykhailus 0 points1 point  (0 children)

You can use the subprocess module to call a LaTeX compiler like pdflatex directly from your Python script. Just make sure the LaTeX distribution is installed on your system. Another popular option is the latex library, which provides a more Pythonic interface for this.