[C++-sig] cannot import module
Atri, Sunil
Sunil.Atri at spansion.com
Tue Jan 23 03:08:03 CET 2007
This is not strictly a C++ question, but I did not find a C forum. I
have trying to compile and install the example given here
http://docs.python.org/ext/simpleExample.html
I was able to compile, but when try to import I get the following
message
>>> import spam
Traceback <most recent call last>:
File "stdin", line 1, in <module>
ImportError: No module named spam
I assume when adding a C function to python this is as simple as it
gets, but I am not having much luck. I am also new to python.
Thanks
Sunil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070122/a3933832/attachment.htm>
More information about the Cplusplus-sig
mailing list