question; C/C++ with Python

Hongtian hongtian.info at gmail.com
Thu Dec 25 09:50:31 EST 2008


Hi friends,

I have a C/C++ application and I wrote a .py file to extend it.
The .py file includes some simple functions without import any other
modules.

Today, I want to update my .py file and import SMTP library in the
file, but it seems fail to import SMTP library.

So I want to ask: when the .py file is used to extend C/C++
application, can it import other modules? How to do that? should I
copy all pythons libs to my C/C++ application directory? That could be
terrible...

Thanks.




More information about the Python-list mailing list