Re: Python - C# interoperability

2007-01-11 Thread Larry Bates
mc wrote: > Is there an easy way to compile a Python class (or set of classes) into > a .DLL that a C# program can call? Or otherwise to use an existing > library of Python classes from a C# program as seamlessly as possible? > You can write COM objects that can be called from C# (or basically A

Re: Python - C# interoperability

2007-01-10 Thread sturlamolden
mc wrote: > Is there an easy way to compile a Python class (or set of classes) into > a .DLL that a C# program can call? Or otherwise to use an existing > library of Python classes from a C# program as seamlessly as possible? One way is to use IronPython if you don't need modules written for CPy

Re: Python - C# interoperability

2007-01-10 Thread mc
Thanks to all who responded. It appears that there may be a solution as follows: use jythonc to turn Python program into Java bytecode use Microsoft's jbimp to turn Java bytecode into .NET DLL It sounds roundabout, but I am investigating. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python - C# interoperability

2007-01-09 Thread Luis M. González
mc wrote: > Is there an easy way to compile a Python class (or set of classes) into > a .DLL that a C# program can call? Or otherwise to use an existing > library of Python classes from a C# program as seamlessly as possible? I'm affraid this is not possible. Ironpython (the .NET python implemen

Re: Python - C# interoperability

2007-01-09 Thread Bruno Desthuilliers
mc a écrit : > Is there an easy way to compile a Python class (or set of classes) into > a .DLL that a C# program can call? Or otherwise to use an existing > library of Python classes from a C# program as seamlessly as possible? > I can't tell if that'll do, but have you looked at IronPython ? --

Re: Python - C# interoperability

2007-01-09 Thread Martin v. Löwis
mc schrieb: > Is there an easy way to compile a Python class (or set of classes) into > a .DLL that a C# program can call? Or otherwise to use an existing > library of Python classes from a C# program as seamlessly as possible? You should take a look at IronPython, which supports that kind of thi

Python - C# interoperability

2007-01-09 Thread mc
Is there an easy way to compile a Python class (or set of classes) into a .DLL that a C# program can call? Or otherwise to use an existing library of Python classes from a C# program as seamlessly as possible? -- http://mail.python.org/mailman/listinfo/python-list