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?
Assuming your python file name script.py, you can create a batch file that looks like this:
script.py
python C:\Users\script.py
(script_runner.bat) ASP.NET :
Process.Start('C:\Users.script_runner.bat');
IronPython, ASP.NET.
Source: https://habr.com/ru/post/1672955/More articles:How to install Microsoft.NETCore.Jit 1.0.2 package in Xamarin.iOS project, Version = v1.0? - c #How to access GCS console objects in projects using a service account? - google-app-engineWhat is the difference between list.files and dir? - rBootstrap: multiple selection fields inside one - javascriptWhy does std :: shared_ptr provide a << operator? - c ++DataTrigger with OR operator - c #Async / Await - Waiting does not hold as expected - c #Applying a gradient to an oblique div - cssgeneric pattern, that's why I'm trying to simplify it to reduce duplication - c #Django loading boot file - pythonAll Articles