Re: [Tutor] nice()

2006-02-13 Thread Smith
| From: Josiah Carlson <[EMAIL PROTECTED]> | "Alan Gauld" <[EMAIL PROTECTED]> wrote: || However I do dislike the name nice() - there is already a nice() in || the || os module with a fairly well understood function. perhaps trim(), nearly(), about(), defer_the_pain_of() :-) I've waited to think

Re: [Tutor] nice()

2006-02-12 Thread Ismael Garrido
Smith wrote: > I've been thinking about a function that was recently proposed at > python-dev named 'areclose'. It is a function that is meant to tell > whether two (or possible more) numbers are close to each other. It > is a function similar to one that exists in Numeric. One such > implement

Re: [Tutor] nice()

2006-02-12 Thread R. Alan Monroe
> On Sun, 12 Feb 2006, Smith wrote: >> ... I think there is less baggage for the new user to think >> about if the name is something like nice()--a function that makes the >> floating point numbers "play nice." And I also think the name...sounds >> nice.) > For "number is close enough"? How abou

Re: [Tutor] nice()

2006-02-12 Thread Terry Carroll
On Sun, 12 Feb 2006, Smith wrote: > ... I think there is less baggage for the new user to think > about if the name is something like nice()--a function that makes the > floating point numbers "play nice." And I also think the name...sounds > nice.) For "number is close enough"? ___

Re: [Tutor] nice()

2006-02-12 Thread Alan Gauld
PROTECTED]> To: Cc: ; Sent: Sunday, February 12, 2006 6:44 PM Subject: [Tutor] nice() I've been thinking about a function that was recently proposed at python-dev named 'areclose'. It is a function that is meant to tell whether two (or possible more) numbers are close to eac

[Tutor] nice()

2006-02-12 Thread Smith
I've been thinking about a function that was recently proposed at python-dev named 'areclose'. It is a function that is meant to tell whether two (or possible more) numbers are close to each other. It is a function similar to one that exists in Numeric. One such implementation is   def arec