"Joe Cox" <[EMAIL PROTECTED]> wrote
> A typical line of code for me to read and edit will look like:
> G01 G91 X7.12345 Y7. Z-0.0086
> The underlines is what I need to edit, as above.
What underlines?
email and news readers do not necessarily support rich text
formatting. Do not assume tha
Yes, I made a typo in
the quantize. You are correct I am not able to read and parse the text
file properly?
I just face that IDE screen and it's all white. I am
lost.
-Original Message-From: Jason Massey
[mailto:[EMAIL PROTECTED]Sent: Wednesday, October 25, 2006
4:25 PMTo:
More specifically, Joe, where and what types of errors are you getting?When I type in your example exactly as above I get the following:>>>from decimal
import *>>> Decimal('7.').quantize(Decimal('1.000'),rounding=decimal.ROUND_DOWN)Traceback (most recent call last): File "", line 1, in ?NameE
Joe Cox wrote:
> My next project is to read a doc file and do some number editing.
> I can alter numbers in the Interactive Shell OK:
>
> import math
> print round(7.12345,4)
> 7.1234
>
> from decimal import*
> Decimal('7.0').quantize(Decimal('1.000'),rounding =
> decimal.ROUND_DOWN)
> Dec
My next project is to read a doc file and do
some number editing.
I can alter numbers in the Interactive Shell
OK:
import mathprint
round(7.12345,4)7.1234
from decimal
import*Decimal('7.0').quantize(Decimal('1.000'),rounding =
decimal.ROUND_DOWN)Decimal("7.")
But when I go in