Qt class to embed python in a c++ application
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
I just forgot one thing : as I use pipes to get python outputs I really don't know if it can work on Windows .... -- 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
Pierre Barbier de Reuille <pierre.barbier@cirad.fr> writes:
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 :)
All the same questions about examples, documentation, and tests apply here as well. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams -
Pierre Barbier de Reuille