Archive for the 'PyGTK' Category

01
Jan
08

Dumb Quiz, making easier to build a quiz

That’s my new proggy, the main ideia is just makes easier to build a quiz tool. It grabs those question in a sqlite3 database embeeded as well as the asnwers. I’d so much fun doing it with python and gtk; and I’d learned a lot about software deployment making a Linux installer (RPM and DEB) as well as a Windows installer.

http://code.google.com/p/dquiz/

Screenshot.

Note that It comes with some bugs for free, I promise I’ll fix it soon. Anyway, If you find another one, please let me know!

01
Apr
07

Plotting with MatPlotLib, PyGTK and Glade

The matplotlib is a plotting library for python which uses a syntax based on matlab. It is quite powerful: there are a large sets of 2D and 3D graphs available, it suports most of windowing toolkits (GTK, Tkinter, Qt, and wxWindows) for embedded GUI applications as well as interfacing with the python shell (see IPython).

See other python plotting solutions and compare.
http://wiki.python.org/moin/NumericAndScientific/Plotting

Bellow we describe an example of embedded PyGTK with Glade application that uses matplotlib. It just draws a barchart graph. The code is based on the matplotlib examples, serpia pygtk tutorial and matplotlib cookbook.

Continue reading ‘Plotting with MatPlotLib, PyGTK and Glade’

01
Feb
07

Threading with PyGTK and Glade

I find out just one pratical sample about how to use pygtk with thread at the http://pygtk.org/ faq. Although I think that coolest thing of pygtk is use with glade. With no samples available I’d tried to do by myself. I am glad because at the end it was pretty much the same stuff as the sample that wasn’t using glade! Good job done, folks!

 Continue reading 'Threading with PyGTK and Glade'



Quotes

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it. Really smart people with reasonable funding can do just about anything that doesn't violate too many of Newton's Laws!" -- Alan Kay in 1971

My Twitter

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

My Delicious

RSS My Shared RSS

  • An error has occurred; the feed is probably down. Try again later.

Blog Stats

  • 73,077 hits