Re: how to call python code from C#

2005-01-25 Thread Ryan Paul
On Tue, 25 Jan 2005 00:35:04 +0530, paritosh mahana wrote: > Hi all, > How can I call python code from my C# code. One thing is to make an > .exe file of the python program and then try to call it from my C# > code. But I don't like that idea. Is there any other way to do this. > Like making a .d

Re: how to call python code from C#

2005-01-25 Thread just starting
Thanks for all your kind information. I haven't used COM objects so far.I think now I have to learn it.Anyway thanks a lot again. paritosh. On Mon, 24 Jan 2005 12:43:50 -0700, Dave Brueck <[EMAIL PROTECTED]> wrote: > Peter Hansen wrote: > > paritosh mahana wrote: > > > >> How can I call python co

Re: how to call python code from C#

2005-01-24 Thread Dave Brueck
Peter Hansen wrote: paritosh mahana wrote: How can I call python code from my C# code. [snip] You could use ctypes or the pywin32 package to provide your Python code with an ActiveX interface. Then you could just use it via COM, like any other COM object. Lots of references available via Google

Re: how to call python code from C#

2005-01-24 Thread Peter Hansen
paritosh mahana wrote: How can I call python code from my C# code. One thing is to make an .exe file of the python program and then try to call it from my C# code. But I don't like that idea. Is there any other way to do this. Like making a .dll file from the python code and somehow call it from C

how to call python code from C#

2005-01-24 Thread paritosh mahana
Hi all, How can I call python code from my C# code. One thing is to make an .exe file of the python program and then try to call it from my C# code. But I don't like that idea. Is there any other way to do this. Like making a .dll file from the python code and somehow call it from C# program.But I