It is quite easy to export methods, and constants, and even datatypes from a .pyd (Python Extension DLL, .so in #?nix). However, how do you export a class ? Is it just a special way of exporting datatypes ? (But then, I cannot yet see how to add methods to such a datatype). I've looked up google but in vain.