[Python.NET] 2 ? about embedding python
guy at r-e-d.co.nz
Sat Jul 16 06:56:30 CEST 2005
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.
More information about the PythonDotNet