[C++-sig] Qt class to embed python in a c++ application

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Mon Jul 28 10:37:37 CEST 2003


Ok, here I send some files with classes to embed python. The use should 
be quite simple : you just have to instanciate the class PythonWnd and 
give it the module name and the module main function (which should be 
init#modulename). It should open another window in which you can enter 
python commands. It should even work without modules (but it's not tested).

Thanks for your future comments :)

-- 
Pierre Barbier de Reuille

INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France

tel   : (33) 4 67 61 65 77    fax   : (33) 4 67 61 56 68 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: embed_python.cc
Type: text/x-c++src
Size: 19751 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030728/b925b8f5/attachment.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: embed_python.hh
Type: text/x-c++hdr
Size: 5108 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030728/b925b8f5/attachment.hh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edithistory.cc
Type: text/x-c++src
Size: 2246 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030728/b925b8f5/attachment-0001.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edithistory.hh
Type: text/x-c++hdr
Size: 1899 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030728/b925b8f5/attachment-0001.hh>


More information about the Cplusplus-sig mailing list