William: It has always seemed to me that the syntax you tried should work. Perhaps someday, some "real" Python guru will explain to me why sometimes it does not, and maybe even tell me how to fix it. Perhaps the module definition is not done quite right, I dunno? Try adding an extra level of depth to your module reference, and I think you may find that it works.
adodbapi.adodbapi.dateconverter = adodbapi.adodbapi.pythonDateTimeConverter() Looks weird to me and I don't understand it, but try it. -- Vernon Cole On Tue, Feb 10, 2009 at 7:46 AM, William Dode <w...@flibuste.net> wrote: > Hi, > > How should i do to make adodbapi return datetime instead of mx.DateTime? > > I tried > import adodbapi > adodbapi.dateconverter = adodbapi.pythonDateTimeConverter() > > Maybe i didn't test well, but it doesn't seems to work... > > thanks > > -- > William Dodé - http://flibuste.net > Informaticien Indépendant > > _______________________________________________ > DB-SIG maillist - DB-SIG@python.org > http://mail.python.org/mailman/listinfo/db-sig >
_______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig