?
=?ISO-8859-1?Q?=22C=E9dric_V=2E=22?=
Hi,
I am unable to import anydbm without error under Python2.2 or 2.3 (Linux).
this script:
returns at execution:
(the same with python2.2)
do I have forgotten something? or is it another problem?
thanks in advance,
-- CV
I am unable to import anydbm without error under Python2.2 or 2.3 (Linux).
this script:
>#!/usr/bin/env python
>import anydbm
>
>if __name__ == "__main__":
> db = anydbm.open("test", "rwc")
> db["test"] = "ok"
returns at execution:
>cedric@dev _test $ python dbm.py
>Traceback (most recent call last):
> File "dbm.py", line 2, in ?
> import anydbm
> File "/usr/lib/python2.3/anydbm.py", line 59, in ?
> _errors.append(_mod.error)
>AttributeError: 'module' object has no attribute 'error'
(the same with python2.2)
do I have forgotten something? or is it another problem?
thanks in advance,
-- CV