convert pyObjects to c# types. #2358
Unanswered
federico-git
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I know this have been asked multiple times but I still dont find a practical answer, plus it seems strange that such a common problem is not well covered anywhere.
Q: when I invoke a python method
var pyDict = pythonScript.InvokeMethod("testFunct");and the return type oftestFunctis a dictionary. how do I convert that var in a c sharp dictionary of strings or whatever? same for lists. should I always create my own methods?All reactions