This package provides a basic interface to run Python code within Macaulay2 and to convert back and forth between Python and Macaulay2 objects.
|
|
|
|
The loadPackage(...,Configuration=>...) option accepts an "executable" option to specify the path to the Python executable, e.g., for working with virtual environments. At least Python version 3.8 is required for this feature to work.
This documentation describes version 1.0 of Python, released November 8, 2025.
If you have used this package in your research, please cite it as follows:
|
The object Python is a package, defined in Python.m2, with auxiliary files in Python/.
The source of this document is in Python/doc.m2:47:0.