OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Applications => Topic started by: alstaszko on 2012.04.07, 09:38:18

Title: Python (was PyQt)
Post by: alstaszko on 2012.04.07, 09:38:18
Thanks Paul. It looks like something in the last module loaded, namely readline.pyd.

By the way, I might be interested in PyQt simply because I have used wxPython on Windows and Linux
extensively and the method of binding message handlers cannot be that dissimilar.

How have you generated the interface wrappers for Python? Did you use SWIG?
I have had an notion lurking at the back of my mind for some time to get SWIG ported
to OS/2 and do something similar with wxWidgets -> wxPython for OS/2.

Just as eric4 and 5 are Python IDEs it might be nice to have C/C++ support in them, assuming it's
a plugin mechanism for language support.
Title: Re: Python (was PyQt)
Post by: Paul Smedley on 2012.04.07, 12:08:50
Quote from: alstaszko on 2012.04.07, 09:38:18
How have you generated the interface wrappers for Python? Did you use SWIG?
I have had an notion lurking at the back of my mind for some time to get SWIG ported
to OS/2 and do something similar with wxWidgets -> wxPython for OS/2.

PyQT - ie the interface wrapper - is a product of riverbank computing - http://www.riverbankcomputing.co.uk/news

I 'just' compiled it.

I will try investigate readline.pyd when I get some time
Title: Re: Python (was PyQt)
Post by: Paul Smedley on 2012.04.07, 12:13:22
try http://smedley.id.au/readline.zip for the 100% cpu with readline.pyd - overwrite the existing file
Title: Re: Python (was PyQt)
Post by: alstaszko on 2012.04.07, 14:21:01
Thanks, I'll give it a try.

Andy Staszko
Title: Re: Python (was PyQt)
Post by: alstaszko on 2012.04.07, 14:27:03
That's seems to have done the trick!

We have keyboard input and no CPU hogging.

Andy Staszko
Title: Re: Python (was PyQt)
Post by: Paul Smedley on 2012.04.08, 13:09:59
Quote from: alstaszko on 2012.04.07, 14:27:03
That's seems to have done the trick!

We have keyboard input and no CPU hogging.

Andy Staszko

glad it works :P