Re: [Tutor] show all dbm data

2006-09-14 Thread Alan Gauld
> Hi, im have just started programming python with cgi and i will try > to use > dbm as a db to practise dbm is pretty low level, I'd recommend using the shelve module as a layer above dbm. Basically shelve makes a file look like a dictionary. Not the answer you asked for but since you don't int

[Tutor] show all dbm data

2006-09-14 Thread federico ramirez
Hi, im have just started programming python with cgi and i will try to use dbm as a db to practiseBut i cant figure out how to diplay all the data from it..this is the code im using/#!/usr/bin/python print "Content-Type: text/html\n\n"import cgi, dbmdef startpage(title):    print ''' ht