[python-win32] Re: where should adodbapi be placed within python-win32?

Vernon Cole vernon.cole at wirelessbeehive.com
Fri Aug 24 08:18:38 CEST 2007


Roger Upole <rwupole at msn.com> said:

>Installing it directly in site-packages sounds reasonable to me, as well as
>placing the source in  /pywin32/adodbapi.  If there's no C++ to compile,
>getting it into the installer may be as simple as adding adodbapi to the
>list of packages in setup.py.
---
You understand correctly. There is no C code.
---
>   As a side note, how does it handle currency ?  The default method for
>returning currency from COM is going to change to a Decimal object
>at some point.
>
>          Roger
---
adodbapi's major change between 2.0 and 2.1 is that it now returns decimal
and currency columns as python Decimal objects, rather than floats. Python
2.3 or later is required for that reason.

Vernon Cole
software engineer




More information about the python-win32 mailing list