[Tutor] Python and SQL

Deirdre Saoirse Moen deirdre@deirdre.net
Wed, 27 Jun 2001 13:41:26 -0700


At 10:38 PM -0400 6/27/01, Joachim Th=F6ne wrote:
>By trying what I've just learned ( Thanks Deidre), Idle displayed the
>following error message:
>
>>>>  import pgdb
>Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in ?
>     import pgdb
>   File "/usr/lib/python2.1/site-packages/pgdb.py", line 65, in ?
>     except ImportError: import DateTime
>ImportError: No module named DateTime
>>>>
>
>As a Python newbie of course I don't know a Module named 'DataTime'. So
>here is my question:
>Where can I find that module?

A lot of the database libraries rely on mxDateTime (which allows 
dates outside the Unix epoch). I can't remember where to find that 
offhand.
-- 
_Deirdre    Stash-o-Matic: http://weirdre.com    http://deirdre.net
"Cannot run out of time.... Is infinite time. You... are finite....
Zathrus... is finite. This... is wrong tool!" -- Zathrus