Hello, Both questions relate to python embedded in a C# application.
1.. If my python script returns a False/True then to pass the bool to the c# script then this: bool result = (bool)runFrm.AsManagedObject(typeof(Boolean)); should work shouldn't it? 2.. If the python script needed to return 3 values(2 strings + 1 boolean), then how do I pass these to the C# application. I can't return an array because the values aren't all the same type. And I can see no equivalent of a python tuple. TIA, Guy _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet