PyQt with embedded python in Qt App

BlueBird phil at freehackers.org
Fri Nov 2 07:21:06 EDT 2007


On Nov 2, 8:03 am, "Bart." <uz... at o2.pl> wrote:
> Friday 02 of November 2007 01:06:58 Diez B. Roggisch napisa (a):
>
> > > So how to pass this object into embeded python interpreter (executed
> > > script)? Anyone know any example?
>
> > You don't pass it, you _retrieve_ it in the embedded interpreter by
> > invoking the code given to you.
>
> Know any example,  please?
> For better understand this :) I wan't add scripting to one application wrotten
> with Qt.

So, you have Qt/C++ application which you want to script through
python.

But why do you need PyQt for ? If you design a script api in python
and bind it using whatever binding technology (manually, boost, sip,
pyrex, ...), you should not need to use PyQt.

Or do you mean to use PyQt as the binding technology ?

    Philippe




More information about the Python-list mailing list