As Mathematica has the interoperability with Python since M11.2, with major improvements in M12.0, is it possible to connect to already running interactive Python sessions? For example, can we connect to a Python kernel started by Jupyter?
Can someone provide a pathway for doing that?
This question came to my mind since I feel certain operations are handy at one side and vice versa now and then.
ExternalEvaluate
? Obviously you can do this if you can control Mathematica from python or python from Mathematica at the C++ level (both of which are of course very much so doable). Is it okay to have to type commands on both sides to get this to work? (i.e. start aLinkObject
on the Mathematica side and connect to it from python). $\endgroup$ – b3m2a1 Jun 7 '19 at 8:25ExternalEvaluate
" No, but that framework grew big enough that it would be hard to compete with at this point. "Is it okay to have to type commands on both sides to get this to work?" Yes, completely okay. That would be hard to avoid. $\endgroup$ – Szabolcs Jun 7 '19 at 8:29