Hi Alberto - Thanks for your help! Seems to work fine now....except...I am trying to use arrays. I am following the README on the python for .NET website. Here are the commands I am trying to run:
from System import Array # works! myarray = Array[int](10) # fails! TypeError: Cannot convert 10 to System.Int32[] I'm a little confused...obviously the example doesn't work, but how *should* arrays be initialized in Python .NET? The c# code might look like: int[,] numbers = new int[,] { {1, 2}, {3, 4}, {5, 6} }; I'm actually looking to make a 2D array. Further, the end goal is to make a 2D array...then serialize it....then deserialize it in c# code itself. I'm hoping to make this a transport layer between Python and C#. It's a bit complicated, but I have an existing application in Python which I want to get some calculated results out of without writing listeners, named pipes, web services, etc. All I want to do is to serialize a .NET 2D array created in Python. - Aaron > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Berti > Sent: Friday, April 20, 2007 1:49 AM > To: pythondotnet@python.org > Subject: Re: [Python.NET] Installing Python for .NET with .NET 2.0? > > > Hi Aaron, > > the tarballs on pythondotnet's site are for .NET 1, if you > want to use it with .NET 2 you should checkout the last svn > trunk and patch it with the instruxtions described in this mail > http://thread.gmane.org/gmane.comp.python.dotnet/576 .In that > message there is also a link to binary packages provided by > Angel Ignacio. > > Hi hope soon to set up a wiki dedicated to pythondotnet as > there aren't so many examples of using it for things like > embedding etc. I'm just looking for a wiki engine which as > some effective spam protection. If someone has any hint on a > product or a service please drop me a line. > > Alberto > _________________________________________________ > Python.NET mailing list - PythonDotNet@python.org > http://mail.python.org/mailman/listinfo/pythondotnet > _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet