CTAN Comprehensive TeX Archive Network

pythonimmediate – Library to run Python code

Just like Perl or PyLua (and unlike Python or lt3luabridge), this only requires a single run, and variables are persistent throughout the run.

Unlike Perl or PyLua, there is no restriction on compiler or script required to run the code.

There are also debugging functionalities: errors result in Python traceback, and Python errors result in traceback. Errors in code executed with the pycode environment give the correct traceback point to the Python line of code in the file.

For advanced users, this package allows the user to manipulate the state directly from within Python, so you don’t need to write a single line of code.

CAUTION: In addition to this package you need the Python pythonimmediate-tex package, which can be obtained from https://pypi.org/project/pythonimmediate-tex/.

Sources/macros/latex/contrib/pythonimmediate
Documentation
Repositoryhttps://github.com/user202729/pythonimmediate-tex
Version0.5.0 2024-01-18
LicensesThe Project Public License 1.3c
Copyright2022–2024 user202729
Maintaineruser202729
Contained inTeX Live as pythonimmediate
MiKTeX as pythonimmediate
TopicsExperimental 3
Callback

Download the contents of this package in one zip archive (436.7k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author