I have a web page developed using Asp .Net MVC and I have a project developed in Python that has some methods to make predictions using Machine Learning. In this context, how can I make my web page communicate with my project in Python and use the methods implemented there?
Assuming that your python file name is
script.py, You can create a batch file that goes like this:
And then call the batch file (script_runner.bat) from the ASP.NET program like this:
Another possible solution is to use IronPython, which works very good with ASP.NET.