• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Python (was PyQt)

Started by alstaszko, 2012.04.07, 09:38:18

Previous topic - Next topic

alstaszko

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.

Paul Smedley

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

Paul Smedley

try http://smedley.id.au/readline.zip for the 100% cpu with readline.pyd - overwrite the existing file

alstaszko

Thanks, I'll give it a try.

Andy Staszko

alstaszko

That's seems to have done the trick!

We have keyboard input and no CPU hogging.

Andy Staszko

Paul Smedley

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