Page 1 of 1

python and swing?

Posted: Sat Jun 16, 2012 12:26 pm
by gregd99
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

Re: python and swing?

Posted: Sat Jun 16, 2012 4:06 pm
by andyl
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.

Re: python and swing?

Posted: Sun Jun 17, 2012 2:58 am
by gregd99
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