Re: [Python.NET] Calling Python functions/objects forom C# code

2013-07-05 Thread Patrick Stewart
Avi Mitrani writes: > I’m new to PythonDotNet, and to integrating Python & C#, and I have to say that I’m ‘breaking my teeth’ > Is there an example or tutorial you can direct me to? You need to do something like: var res = PyTuple.AsTuple(fibmodule.InvokeMethod("fib2", new PyObject[1] { new

[Python.NET] C# dynamic object support / Easy calling from C#

2013-07-05 Thread Patrick Stewart
Hi, Just thought I'd send a heads up to say I've made some modifications to python.net to make it much more convenient to call python code from C#, which can be found here: http://github.com/patstew/pythonnet I've inherited PyObject from DynamicObject, wired up the appropriate bits and added a few

Re: [Python.NET] Python 3 version of Python for .NET

2013-07-05 Thread Tony Roberts
Yes, I made some changes to get it working in Python 3 a while ago. The code's on github: https://github.com/tonyroberts/pythonnet. I've tested it with 3.3 x64 and it works ok for me (although I've only really used the 3.2 x64 build extensively). regards, Tony On Fri, Jul 5, 2013 at 3:56 AM, Ky

Re: [Python.NET] C# dynamic object support / Easy calling from C#

2013-07-05 Thread Mark Tigges
Nice work captain! (sorry, couldn't resist.) On Tue, Jul 2, 2013 at 2:35 AM, Patrick Stewart wrote: > Hi, > Just thought I'd send a heads up to say I've made some modifications to > python.net to make it much more convenient to call python code from C#, > which can be found here: http://github.

Re: [Python.NET] C# dynamic object support / Easy calling from C#

2013-07-05 Thread Tribble, Brett
Star Trek jokes, yeah, heard those... From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea@python.org] On Behalf Of Mark Tigges Sent: Friday, July 05, 2013 7:49 AM To: Patrick Stewart Cc: pythondotnet@python.org Subject: Re: [Python.NET] C# dynamic object support / Easy calling from C#