.net - How to integrate Python with ASP.NET -


i making asp.net website in use python 3.x code. not 'some', lot.

i have started searching solution not reached 1 yet. using vs 2015, , of solutions found vs 2010, 2012. not vs 2015.

so began installing ptvs, ends in error. screenshot of error.

please regarding installation error , how set integration.

thanks bunch.

if don't need python 3 - take @ ironpython (latest version 2.7 compatible). example: running ironpython scripts c# 4.0 program.
if need use python script your .net project - can ask python.exe run script. this:

processstartinfo p = new processstartinfo(); p.filename = @"\path\to\python\interpreter\python.exe"; p.arguments = @"\path\to\*.py"; p.createnowindow = false; p.useshellexecute = true; process procscriptexecutor = process.start(p); procscriptexecutor.waitforexit(); procscriptexecutor.close(); 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -