problems with Python cgi web counter and (g)dbm

Stefan Harms harmsPOST at mbnet.mb.ca
Sat May 15 11:38:44 EDT 1999


Please let me know what I am doing wrong:

I have adapted the Python counter cgi script of  Sabine Appelmans, 
 http://www.ping.be/sabine-appelmans/home/python/index.html 

However when I try to make the database online, I get the following errors:

Python 1.5 (#1, Nov 12 1998, 10:26:41)  [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import dbm
Traceback (innermost last):
  File "<stdin>", line 1, in ?
ImportError: No module named dbm
>>> import gdbm
Traceback (innermost last):
  File "<stdin>", line 1, in ?
ImportError: No module named gdbm


Please direct me if you know of other simple Python counter scripts.
Thanks

-- 
Stefan Harms @ Squirrel's End




More information about the Python-list mailing list