On Saturday, May 10, 2014 5:26:56 PM UTC+5:30, Steven D'Aprano wrote:
> On Sat, 10 May 2014 04:39:05 -0700, Preethi wrote:
>
>
>
> > Hi,
>
> >
>
> > I am new to python. I am getting an error "AttributeError: type object
>
> > 'Decimal' has no attribute 'from_float'" when I run the following
On Sat, May 10, 2014 at 7:39 AM, Preethi wrote:
> future==0.9.0
It looks like that library is out of date. The current version looks
to be 0.12.0, and it also looks like this bug was fixed in the 0.12.0
release. I'd upgrade your version if at all possible.
--
Jerry
--
https://mail.python.org
On Sat, 10 May 2014 04:39:05 -0700, Preethi wrote:
> Hi,
>
> I am new to python. I am getting an error "AttributeError: type object
> 'Decimal' has no attribute 'from_float'" when I run the following in
> python prompt:
>
from future.builtins import int, round
I get an error when I try th