## Import the native extension module. ## from either mylib.so, or mylib.dll import mylib if __name__ == "__main__" ## Call the registered function. print('mylib.hello() = ${mylib.hello()}') end