[PyKDE] Any tools to generate sip files?

Vio vmilitaru at sympatico.ca
Fri Mar 14 05:25:00 GMT 2003


Jim Bublitz wrote:

>On 14-Mar-03 Frederick Polgardy Jr wrote:
>  
>
>>Well that's essentially what SIP is, although it's more than just
>>cpp->pyqt/kde, it's cpp->python in general.
>>    
>>
>
>I took him to mean he wanted to translate (line for line) C++ into
>python, for example:
>
>if (something)
>{
>   x = 1
>   y = 2
>}
>
>to
>
>if something:
>    x = 1
>    y = 2
>

Exactly. Well, for the time being, writing such a scanner isn't "too" 
painful, at least with the tool I'm using right now (Plex1.1.4), only, 
of course, if somebody already handled this problem before me somehow, I 
would hate to re-invent the wheel once again :)

Cheers,
Vio





More information about the PyQt mailing list