Hi. I follow the example from the best answer here to a T, compiling with Pyc.py.
http://stackoverflow.com/questions/2139202/build-python-scripts-and-call-methods-from-c
I get an exception at pyScope = pyEngine.ImportModule("MyClass");
no module named MyClass
I believe this to be a bug as sometimes recompilation with Pyc.py will produce a dll ImportModule recognizes, but other times it doesn't.
CONCLUSION: As noted below by digEmAll, compiling modules with Pyc.py to be used in this fashion produces random results. Call clr.CompileModules manually instead.