I am trying to call a C# dll in python. I used these 2 approaches: link1 link2
But i am not able to use this line:
import clr
clr.AddReference('MyDll')
from MyNamespace import MyClass
my_instance = MyClass()
But I get an error: in this line:
from MyNamespace import MyClass
cannot import name MyClass
Does anybody now why?