I know there is some support for running Mathematica from Python, but is there any way to do the reverse. For example, to import some Python classes and use them in Mathematica?
Answer
Since 11.2 Mathematica has supported ExternalEvaluate
and since 11.3 this functionality has been conveniently available simply by beginning an input cell with >
which produces an external code cell:
The output of these cells is a Wolfram Language expression that you can then compute with.
Comments
Post a Comment