"Brian" == Brian Lloyd email@example.com writes:
Brian> Hi Aaron - PythonNet tip 'o the day: you can probably just Brian> construct the array in Python as a normal list:
Brian> mylist = [[1, 2], [3, 4], ...]
Brian> If you pass that to a method with a signature that takes Brian> int[,] then everything should Just Work so long as the Brian> lists and their contents are actually convertible to the Brian> stated type ;)
that is good! :-)
Brian> The syntax you're using below is actually trying Brian> instantiate a bound generic type (Array[int] is equivalent Brian> to Array<int> in C#), so when you say 'Array[int](10)' it Brian> is trying to create the bound generic type and initialize Brian> it with 10 (which is not an array), which is probably not Brian> what you intended.
i should better understand what generic types are....
P.S. Any commente on my idea of a wiki for pythondotnet?