Re: [Tutor] How to import this program, and other questions

2007-01-22 Thread Dick Moores
At 01:56 AM 1/22/2007, ALAN GAULD wrote: >--- Dick Moores <[EMAIL PROTECTED]> wrote: > > > > ...Is the answer to put all 3 functions inside one big > > > one? > > > > > Probably not, its more likely to be a small function > > that checks its input parameters and calls one of > > the 3 worker funct

Re: [Tutor] How to import this program, and other questions

2007-01-20 Thread Dick Moores
At 06:34 AM 1/20/2007, Dick Moores wrote: Tutors, I recently learned a bit about using the clnum package (see < http://calcrpnpy.sourceforge.net/clnumManual.html>), and am trying to write a set of functions that I could import to do very precise division, raising any number to any power, etc.,

Re: [Tutor] How to import this program, and other questions

2007-01-20 Thread Dick Moores
At 10:01 AM 1/20/2007, Alan Gauld wrote: >"Dick Moores" <[EMAIL PROTECTED]> wrote > > > I've succeed with a script, clnumDivision.py, (see it > > at < http://www.rcblue.com/Python/clnumDivision_for-web.py>) > > but it is not one function, but a script with 3 functions plus a > > main(). So my first

Re: [Tutor] How to import this program, and other questions

2007-01-20 Thread Alan Gauld
"Dick Moores" <[EMAIL PROTECTED]> wrote > I've succeed with a script, clnumDivision.py, (see it > at < http://www.rcblue.com/Python/clnumDivision_for-web.py>) > but it is not one function, but a script with 3 functions plus a > main(). So my first question is how can I use this as a function

[Tutor] How to import this program, and other questions

2007-01-20 Thread Dick Moores
Tutors, I recently learned a bit about using the clnum package (see < http://calcrpnpy.sourceforge.net/clnumManual.html>), and am trying to write a set of functions that I could import to do very precise division, raising any number to any power, etc., where the numbers can be strings in the form