我正在编写一个 python 程序,它生成可编译成 PDF 文档的 TeX 代码。为此,我需要确保用户的计算机上安装了某些 LaTeX 发行版。如何在 Python 2.7 中以独立于平台的方式执行此操作?
python latex tex python-2.7
latex ×1
python ×1
python-2.7 ×1
tex ×1