newbie reply, but how do i go about doing that? thanks!
--
http://mail.python.org/mailman/listinfo/python-list
vduber6er escribió:
> First off this is in unix.
>
> I have a C file that has python embedded in it. In the script I have
> the following
>
> PyRun_SimpleString(code);
>
> where
> code = "import mymodule"
>
> however I get this error
>
> Traceback (most recent call last):
> File "", line 1, in ?
First off this is in unix.
I have a C file that has python embedded in it. In the script I have
the following
PyRun_SimpleString(code);
where
code = "import mymodule"
however I get this error
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named mymodule
Obje