I have written a code in Python and want to import it into Mathematica, which I was able to do using “>”. But since training a neural network is easier in the Wolfram Language, I want to train the Python Code using Mathematica. Is there any way to do so? Or should I rewrite the code in Wolfram Language?
Hi,
you can call Python via command line, as I answered in this post Calling Fortran from Mathematica but for Fortran.
This can be one way to do it.