Last updated:
0 purchases
PyCY 1.0.0
This is a binary Python extension that encapsulates Windows CY values. CY
values are actually 64-bit signed integers that are implicitly scaled by 10e4,
ie. you can store fixed-point decimal numbers with 4 digits after the decimal
point. In Python when you get one of these back from a COM method it returns a
tuple of two integers. This is generally not very useful, especially if you
think that you can turn around and assign this to some other COM object’s
property and expect that it will do the right thing (get the value as a CY
value) ‘cause it won’t.
This Python extension DLL doesn’t solve the whole problem because since the
COM extensions for Python don’t have any way of passing these values in their
full 64-bit glory (as near as I can tell) there are some numbers you just
wouldn’t be able to set. This extension will at least though allow you to
manipulate these values. It has full Python numeric type support (you can add,
subtract, multiply, etc). It converts to and from a variety of types. I think
there are probably a few more features needed.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.