Message Boards Message Boards

Run Python files in Mathematica?

Posted 4 years ago

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?

POSTED BY: Aryan Deshpande

Hi,

you can call Python via command line, as I answered in this post https://community.wolfram.com/groups/-/m/t/1818099 but for Fortran.

This can be one way to do it.

POSTED BY: Estevao Teixeira
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract