decimal.py ver 2.6,2.7 not working with python 2.7

robert roze rbroze at yahoo.com
Fri Nov 5 15:14:08 EDT 2010


Hi Chris, 

Aha! yes, you figured it out. My PYTHONPATH env variable had an 
old experiment in it, which happened to be called 
numbers.py. Take it out, and decimal.py works fine.

Thank you, Bob


>What does the following output for you?:
>
>import numbers
>print(numbers.__file__)
>print(dir(numbers))
>
>Cheers,
>Chris
>--
>http://blog.rebertia.com



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101105/3e6ab449/attachment-0001.html>


More information about the Python-list mailing list