Feh. Finally got it.
db = pgdb.connect('localhost:whelkboard:wbuser:password')
cursor = db.cursor()
During the day today, after work, I can finally start programming the Python for Whelkboard. Have decided its probably best if I ditch David's initial code and use it as a reference. Anyway its late, and work starts at 10:00 AM as always.