Stefan Seefeld wrote: > I believe you are missing > > PyImport_AppendInittab("hello", inithello); Or you can just call inithello() right after Py_Initialize()