Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I am teaching my daughter Python (and myself to some degree) using the Pi, and we have had a great time so far - but the CLI can only take us so far. I have started looking at other toolkits, specifically wx, Qt and GTK. These all seem to have great bindings for Linux in general, though I am not able to find a lot of info specific to the Raspberry Pi. I am open to other toolkits as well - as long as the python bindings are good.

Does anyone have any experience coding to one of these on the pi? Is there a simple apt-get command I need to run to install the necessary packages? Better yet, is there a toolkit ready to go with the stock Raspbian image?

Note: I am currently using Raspbian without issue, though Arch is tempting due to the hard-float ABI issues with mono.

share|improve this question
add comment

2 Answers

up vote 12 down vote accepted

I would recommend Tkinter, it is the standard GUI library for Python, and as a result is already installed,. The IDLE IDE (which is included with the Raspbian image) not only supports Tkinter but is itself a Tkinter app. In addition most Python books will include at least a chapter on creating GUI's with Tkinter. If you prefer web resources you will want to check out Pythonware's Tkinter tutorial. Additional information and resources can be found on Python.org's Tkinter page.

share|improve this answer
 
For the Tkinter tutorial the link is for the second page- here is the intro if anybody wants it: pythonware.com/library/tkinter/introduction/whats-tkinter.htm –  Annonomus Person Mar 9 at 20:21
add comment

go for pygtk its the best and rock solid stable yet easy for beginners

share|improve this answer
2  
Some additional details would help improve this answer (what makes it the best compared to other alternatives, how do I install it, what makes it easy). –  Steve Robillard Sep 14 at 18:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.