User Portlet
Featured Contributor
Discussions |
---|
Rodrigo, this is definitely coming (as evidenced by Vitaliy's link to Rick's repo) Would be interesting to know what you (and others) see as the 'killer use case' for this; in other words where would you use a Wolfram Language (or Wolfram|Alpha)... |
&[Wolfram Notebook][1] [1]: https://www.wolframcloud.com/obj/aab43e25-bf7c-4bd6-810d-7fd15e75eb66 |
Connecting to Python is quick and easy in current versions of Wolfram Language. Here is a simple example that shuttles strings back and forth between the two languages. First start a Python external session: session =... |
You can download the Rust code (plus Cargo.toml file) from here: https://amoeba.wolfram.com/index.php/s/ykm3H72tRbtfxBr |
&[Wolfram Notebook][1] [1]: https://www.wolframcloud.com/obj/d44b883f-473b-42ba-aac3-303b8dbc8aed |
There are two recommended ways to call C/C++ from Wolfram Language: https://reference.wolfram.com/language/guide/LibraryLink.html.en https://reference.wolfram.com/language/guide/ForeignFunctionInterface.html (FFI) ExternalEvaluate could... |
Recent versions of Wolfram Language have seen massive improvements and simplifications in the workflow of integrating Python. See my recent post here for some pointers: https://community.wolfram.com/groups/-/m/t/3093407 |
Szabolcs, we have made massive improvements to the ExternalEvaluate framework of the last years especially w.r.t virtual environments. Wondering what your current thoughts are on this topic? |
In current versions of the Wolfram Language you can simply start a Python session in a virtual environment as follows (here I am using `astropy` as an example, but you can do this with any Python package): session = StartExternalSession[ ... |
Recent versions of Wolfram Language support Python virtual environments that let you specify Python packages quite easily. For example, this creates a session with a Python virtual environment that includes the `sympy` package: session =... |