Message122229
It's actually not quite a solution, either. Working your changes into the build process, I *do* get a math module... but it does *not* have a round function.
> python
Python 2.7 (r27, Nov 23 2010, 11:54:39)
[GCC 3.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import math;
>>> print math.round(2.5);
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'round'
>>> print math.floor(2.5);
2.0
A step in the right direction, though, I'd think. Thanks. |
|
Date |
User |
Action |
Args |
2010-11-23 18:37:35 | Doug.Shea | set | recipients:
+ Doug.Shea, mark.dickinson, mhenriq, Jerzy.Kozera |
2010-11-23 18:37:35 | Doug.Shea | set | messageid: <1290537455.6.0.490506275462.issue9742@psf.upfronthosting.co.za> |
2010-11-23 18:37:33 | Doug.Shea | link | issue9742 messages |
2010-11-23 18:37:33 | Doug.Shea | create | |
|