Hi,
I am trying to get the individual function name which is in python script
and call that in my c# code using python.NET but I am not able to achieve
it.
I would like to get some suggestions and guidance on the same.
Regards,
Prathima
_
Python.NE
Hi,
I wanted to get all the functions name in my c# code from python script
using Python.Net.
I have tried the following method:
1)PyList.Dir():This return the built-in functions along with the user
defined...but we want only the user defined.
2)PythonEngine.Eval():-It takes only the expressions
By excluding the Dunder methods I'll be able to filter out just the
built-in function...but if my script contains import statements,Then how
can I filter out such things..
Do we have anything similar to "inspect.isfunction(x)" in Python.NET just
as in python?
___