Using mxDateTime

Steve Holden sholden at
Thu Jun 6 10:22:06 EDT 2002

"LJD" <ljd at> wrote ...
> Hi:
> I'm new to python and I have a need to use time/date functions.
> I am running redhat 7.3 with the default python 1.52.  I just downloaded
> appropriate mxDateTime RPM and installed it.
> How do I now make those mxDateTime functions available to me in my python
> program?  Since this is an extension module rather than a built in
> I assume I can't simply...
> import mxDateTime

Almost. You actually need to

    import mx.DateTime

because the mx extensions are nowadays structured as components of the mx

Steve Holden                       
Python Web Programming      

More information about the Python-list mailing list