Hello everyone. This is my first time using any mailing list, I hope I did
everything right.

My issue is that I can't call InvokeMethod on an imported module because it
always claims the member does not exist. Further investigation suggests that
my module isn't being imported correctly at all, but instead I'm getting
some 'bank'.

C# end:
PyObject module = PythonEngine.ImportModule("test");
Console.WriteLine(module.Dir());
module.InvokeMethod("testFunction", new PyTuple());

test.py:
def testFunction():
print "hello"

when the Dir gets printed, I don't see any testFunction.
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to