Embedding Python in C
Jack Klein
jackklein at att.net
Thu Jul 15 00:07:31 EDT 1999
On Wed, 14 Jul 1999 14:36:14 +0200, "Thomas Røberg"
<thomar at ifi.ntnu.no> wrote in comp.lang.c:
> 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
#1. There is no such language as C/C++.
#2. Please leave comp.lang.c and comp.lang.c++ out of your cross post
list. Neither of these languages defines any way to embed python.
Jack Klein
--
Home: http://home.att.net/~jackklein
New Stuff: http://home.att.net/~jackklein/newstuff.html
Updated 11-Jul-1999
More information about the Python-list
mailing list