0

I want to build a Unity application that I want to use to enter parameters which I want to pass to a jupyter notebook. The notebook should then be executed which results in a CSV file, which again needs to be saved locally or passed to the Unity environment.

Is there a way to do this?

Denis
  • 51
  • 6

1 Answers1

0

Two ways I know off

A) Run Jupyter Notebook as an API then use C# rest requests to call the functions

Haven't done this myself but probably the cleanest approach.

C# Call Jupyter Notebook

B) Jupyter Notebook can be called via commandline

Passing command line arguments to argv in jupyter/ipython notebook

You can also make command line/Batch calls from C#. Combining the two will allow you do do it

Executing Batch File in C#

CorrieJanse
  • 2,374
  • 1
  • 6
  • 23