Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3901785
By: akbowbender
from decimal import *
tangent1 = Decimal(raw_input("Enter tangent length from PT to PI: "))
Enter tangent length from PT to PI: 717.35
Traceback (most recent call last):
File "C:\Documents
and Settings\crhakari\workspace\Python\PythonTraining\CurveFit.py", line 6, in ?
tangent1 = Decimal(raw_input("Enter tangent length from PT to PI: "))
File "C:\Python24\lib\decimal.py", line 571, in __new__
self._sign, self._int, self._exp = context._raise_error(ConversionSyntax)
File "C:\Python24\lib\decimal.py", line 2267, in _raise_error
raise error, explanation
decimal.InvalidOperation
This error only happens in Eclipse/PyDev on Windows. If run in Idle, the Windows
command prompt or Eclipse/PyDev on Fedora, works fine. Could this be related
to the raw_input problem noted in other posts?
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users