Chuck Esterbrook <[EMAIL PROTECTED]> wrote:
> At 12:37 AM 7/12/2001 -0500, Ian Bicking wrote:
> >Chuck Esterbrook <[EMAIL PROTECTED]> wrote:
> > > Also: MiddleKit assumes that if you have DateTime, it is in the mx 
> > package,
> > > as in:
> > >       from mx import DateTime
> >
> >On my Debian system it installs mxDateTime directly in the path, as in
> >   import DateTime
> >mx doesn't exist at all.
> 
> But is that an older mxDateTime or is that the latest 2.0.1?
> 
> http://www.lemburg.com/files/python/eGenix-mx-Extensions.html#Download-mxBASE

Seems to be 1.3.0.  Debian has a mxdatetime package, not a general mx
package.

All it should take is a 

try:
    from mx import DateTime
except ImportError:
    import DateTime

I think the DateTime name is only used by mx.

  Ian

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to