[Tutor] Rhythmbox python plugin to capture middle click event

2011-04-05 Thread Lachlan d
I've been working on some python rhythmbox plugins for the past few months and now i've decided to try writing my own. I've been able to get actions working correctly in my other plugin. (http://launchpad.net/rb-fileorganizer) but that uses buttons and a gui i built rather than mouse clicks. What

Re: [Tutor] (sqlite3) Testing if a table has been created.

2011-04-05 Thread Robert Helmer
On Tue, Apr 5, 2011 at 6:59 PM, michael scott wrote: > Hello guys, > > Since sqlite gives an error if you try to create a table that's already > there, how do I test if a table is already present? > > > for example in > > def database(info): > import sqlite3 > > connection = sqlite3.connec

[Tutor] (sqlite3) Testing if a table has been created.

2011-04-05 Thread michael scott
Hello guys, Since sqlite gives an error if you try to create a table that's already there, how do I test if a table is already present? for example in def database(info): import sqlite3 connection = sqlite3.connect("test.db") cursor = connection.cursor() if table not in test.d

[Tutor] Release of Mapoteca-0.1

2011-04-05 Thread Juan Jose Del Toro
Dear List; Today we finally released our Python scripts for creating a catalog of geographic information, these scripts walk through directories looking for geographic information in the form of shp, tif, bil and img and using the GDAL bindings extracting its extent, geometry, number of elements,