Re: [Python.NET] System.InvalidOperationException: Handle is notinitialized

2009-04-24 Thread Ethan Adler
Maksim, Thanks for you reply. Yes, I have tried that and it also crashes (without spitting out any errors) when I do that as well. output: -Start copy from console-- >>> import clr >>> s = System.String("some string") H:\> -End copy from console--

Re: [Python.NET] System.InvalidOperationException: Handle is notinitialized

2009-04-24 Thread Maksim Kozyarchuk
Ethan, I believe [] syntax is meant for generics. To create string s = System.String(³some string²) should work. Maksim On 4/24/09 2:34 PM, "Ethan Adler" wrote: > Anyone getting the following problem when running the current version > of python.net  with python2.6? >