I have a code written in Mathematica. What I am trying to do is to write a wrapper (say using Python) that will take user input for the Mathematica code, run the code, and create output.
I do not want the Mathematica code to be seen by the user while it is being run.
The idea is that user just clicks on an executable, Mathematica code runs in the background, asks user for some input parameters, and generates output.
How can I do that? Which utilities can I use?
I tried running the code from command line.
C:\path\to\code\code.m This opens a Mathematica session and runs the code. But the code is visible to the user. This is not desired.
C:\path\to\code\wolframscript -code code.m This throws an error: " 'wolframscript' is not recognized as an internal or external command, operable program or batch file."
– CuriousCoder Nov 29 '17 at 20:34Cloud based API is not a desired way to go for me. I am assuming that the code would reside in the cloud in this approach. The code needs to reside on a local machine for my purpose.
– CuriousCoder Nov 29 '17 at 20:41