Re: Attaching C++ libraries to Python app.

2011-01-06 Thread Stefan Behnel
Stefan Sonnenberg-Carstens, 06.01.2011 07:08: Am 05.01.2011 23:44, schrieb Rohit Coder: I am just asking. In future I may need to import any C++ library, not a Crypto, but some other. Is it possible? Yes. There are at least five possible ways: - Handcode the interface and glue code (http://doc

Re: Attaching C++ libraries to Python app.

2011-01-05 Thread Stefan Sonnenberg-Carstens
brary/ctypes.html) - cython (different approach, implements a python subset, http://cython.org) I used SWIG and ctypes in the past, as it seems (for me) the easiest way. > Date: Wed, 5 Jan 2011 22:44:15 +0100 > Subject: Re: Attaching C++ libraries to Python app. > From: stefan.sonnenb...@pythonme

RE: Attaching C++ libraries to Python app.

2011-01-05 Thread Rohit Coder
I am just asking. In future I may need to import any C++ library, not a Crypto, but some other. Is it possible? > Date: Wed, 5 Jan 2011 22:44:15 +0100 > Subject: Re: Attaching C++ libraries to Python app. > From: stefan.sonnenb...@pythonmeister.com > To: passionate_program...@hotm

Re: Attaching C++ libraries to Python app.

2011-01-05 Thread Robert Kern
On 1/5/11 3:44 PM, Stefan Sonnenberg-Carstens wrote: Am Mi, 5.01.2011, 22:21 schrieb Rohit Coder: Is it possible to use C++ libraries within a Python application? I am planning to write an encryption program and want to use GnuPG C++ You don't need to reinvent the wheel: http://www.dlitz.net

Re: Attaching C++ libraries to Python app.

2011-01-05 Thread Stefan Sonnenberg-Carstens
You don't need to reinvent the wheel: http://www.dlitz.net/software/pycrypto/ Am Mi, 5.01.2011, 22:21 schrieb Rohit Coder: > > Is it possible to use C++ libraries within a Python application? I am > planning to write an encryption program and want to use GnuPG C++ > libraries.elementFontfont-fami

Attaching C++ libraries to Python app.

2011-01-05 Thread Rohit Coder
Is it possible to use C++ libraries within a Python application? I am planning to write an encryption program and want to use GnuPG C++ libraries.elementFontfont-familyfont-sizefont-stylefont-variantfont-weightletter-spacingline-heighttext-decorationtext-aligntext-indenttext-transformwhite-space