convert pyObjects to c# types. #2358
Unanswered
federico-git
asked this question in
Q&A
Replies: 1 comment
-
solved with this implementation LINK |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 oftestFunct
is 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?Beta Was this translation helpful? Give feedback.
All reactions