Embedding Python in C

Thomas Røberg thomar at ifi.ntnu.no
Wed Jul 14 08:36:14 EDT 1999


I am writing a program in C/C++ and want to embed Python. The one problem I
encounter is that when I try to import a module using
Pyrun_SimpleString("import mymodule\n"), this module is not found. I have
specified the correct paths at the correct places in my Makefile (at least I
think I have). Anyone had problem with this??

Thomas Røberg
thomar at ifi.ntnu.no






More information about the Python-list mailing list