Hi!
> I would like to run .py files from within a C# program, using
> pythonEngine.
Perso, I had make a COM-server with Python+PyWin32.
I can call this soft, from C#, with "late-binding" techno.
And, a COM-server-Python-script can run .py's files (execfile, import, etc.)
But, when I know Pyth
l.python.org/mailman/listinfo/pythondotnet>] On Behalf Of
LIVERNAIS Sylvie
*>* Sent: Thursday, June 01, 2006 11:08 AM
*>* To: pythondotnet at python.org
<http://mail.python.org/mailman/listinfo/pythondotnet>
*>* Subject: [Python.NET] How to run a .py file from C#
*>*
*>* Hi,
*>
IS Sylvie
> Sent: Thursday, June 01, 2006 11:08 AM
> To: pythondotnet@python.org
> Subject: [Python.NET] How to run a .py file from C#
>
> Hi,
>
> I'm a newbie in C# and python and try to run a .py file from
> a C# program.
>
> I tried the same thing from a C++
Title: [Python.NET] How to run a .py file from C#
Hi,
I'm a newbie in C# and python and try to run a .py file from a C# program.
I tried the same thing from a C++ program using PyRun_SimpleFile and in the console, I could see the python execution (the print from python).