Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run ironpython code, no output
#2
C# code:
// script "" /*/ r Libraries\IronPython.dll; r Libraries\Microsoft.Scripting.dll; r Libraries\Microsoft.Dynamic.dll; /*/ //.
using Au; using System; using Microsoft.Scripting.Hosting;
partial class Script : AScript { [STAThread] static void Main(string[] a) => new Script(a); Script(string[] args) { //;;;

AOutput.RedirectConsoleOutput=true;

ScriptEngine pythonEngine = IronPython.Hosting.Python.CreateEngine();
ScriptSource pythonScript = pythonEngine.CreateScriptSourceFromString("print 'Hello World!'");
pythonScript.Execute();

}
}


Messages In This Thread
Run ironpython code, no output - by macman - 01-07-2021, 11:27 AM
RE: Run ironpython code, no output - by Gintaras - 01-07-2021, 12:10 PM
RE: Run ironpython code, no output - by macman - 01-08-2021, 12:45 AM
RE: Run ironpython code, no output - by macman - 01-08-2021, 05:51 AM
RE: Run ironpython code, no output - by Gintaras - 01-08-2021, 06:12 AM
RE: Run ironpython code, no output - by Gintaras - 01-08-2021, 06:59 AM
RE: Run ironpython code, no output - by Gintaras - 01-08-2021, 07:29 AM
RE: Run ironpython code, no output - by macman - 01-08-2021, 08:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)