[Python.NET] How to run a .py file from C#

Michel Claveau mc at mclaveau.com
Wed Jun 27 07:29:50 CEST 2007


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 Python, I use very very very little C#

# sorry for my bad english :-(


@-salutations

Michel Claveau




More information about the PythonDotNet mailing list