Python call with tensorflow in Anaconda from c #

I am trying to call a python script from C #. The problem is this python script is using tensorflow which I installed using Anaconda.

I usually need to call " activate [my_environment_name] " then " python my_script.py " and try to get the output from stdout. And I might want to call this script in that environment again, rather than trigger it every time I call this script.

Does anyone know exactly how I can do this from C #? Thank.

+3


source to share





All Articles