How can I integrate an Asp.net page with a Python project?

I have a web page developed using Asp.Net MVC, and I have a project developed in Python that has some methods for forecasting using Machine Learning. In this context, how can I link my webpage to my Python project and use the methods implemented there?

+4
source share
1 answer

Assuming your python file name script.py, you can create a batch file that looks like this:

python C:\Users\script.py 

(script_runner.bat) ASP.NET :

Process.Start('C:\Users.script_runner.bat');

IronPython, ASP.NET.

+6

Source: https://habr.com/ru/post/1672955/


All Articles