gregd99
Posts: 20
Joined: Mon Feb 20, 2012 6:57 am

python and swing?

Sat Jun 16, 2012 12:26 pm

Guys,
I have written quite a bit of python linux and windows and have used the swing library.

is this already on the pi standard image somewhere or do I need to get it from somewhere?

Alternatively is there something similar that is better suited to the pi?

Thanks
Greg

andyl
Posts: 265
Joined: Tue Jan 10, 2012 11:05 am

Re: python and swing?

Sat Jun 16, 2012 4:06 pm

From the sound of it you used Jython on Windows and not stock Python. Swing is a Java GUI library.

Python has a number of very good GUI libraries. So it is probably just a case of picking one and running with it.

A good start would be looking and choosing between py-gtk and PySide (which uses QT) but there are others.

gregd99
Posts: 20
Joined: Mon Feb 20, 2012 6:57 am

Re: python and swing?

Sun Jun 17, 2012 2:58 am

absolutely right... it was jython. I tend to use the names interchangeably which is perhaps not very right.

let me have a look at the libraries you mention.

Thanks

Return to “Python”