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

2007-06-26 Thread Michel Claveau
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

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

2007-06-26 Thread Dylan Flaherty
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, *>

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

2006-06-01 Thread Brian Lloyd
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++

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

2006-06-01 Thread LIVERNAIS Sylvie
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).