Re: building a small calculator

2005-04-21 Thread Steve Holden
[EMAIL PROTECTED] wrote: Thats great info. Thanks. I guess I would know about this if I read through all the manuals, but I'm awefull at reading that kind of stuff. I'll just have to plow through it somehow. Take your time. Feel free to ask questions. Simon Brunning recommended the tutor list - th

Re: building a small calculator

2005-04-20 Thread aleksander . helgaker
Thats great info. Thanks. I guess I would know about this if I read through all the manuals, but I'm awefull at reading that kind of stuff. I'll just have to plow through it somehow. -- http://mail.python.org/mailman/listinfo/python-list

Re: building a small calculator

2005-04-20 Thread Brian van den Broek
[EMAIL PROTECTED] said unto the world upon 2005-04-20 08:41: Sorry. This is my first day using Python. Is there an equivelent to the goto command? I want to find some way to take the user back to the main menu. When I first started learning Python some long time after having done some BASIC, I fo

Re: building a small calculator

2005-04-20 Thread Simon Brunning
On 20 Apr 2005 05:41:37 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Sorry. This is my first day using Python. Nothing to apologise for. We were all new to Python once. > Is there an equivelent to the goto command? I want to find some way to > take the user back to the main menu. Funny

Re: building a small calculator

2005-04-20 Thread aleksander . helgaker
Sorry. This is my first day using Python. Is there an equivelent to the goto command? I want to find some way to take the user back to the main menu. -- http://mail.python.org/mailman/listinfo/python-list

Re: building a small calculator

2005-04-20 Thread Simon Brunning
On 20 Apr 2005 05:31:15 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I get the following error message when using the command sys.exit(). > > name 'sys' is not defined. You really are new at this, aren't you? ;-) You need to import the sys module before you use it. Put this at the top of

Re: building a small calculator

2005-04-20 Thread aleksander . helgaker
I get the following error message when using the command sys.exit(). name 'sys' is not defined. -- http://mail.python.org/mailman/listinfo/python-list

Re: building a small calculator

2005-04-20 Thread Simon Brunning
On 20 Apr 2005 05:18:17 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Now once the user has select a shape and typed in the lengths required, > the result is printed and the program quits. What I want to do is make > the program display the result and then make it wait for the user to > pre

building a small calculator

2005-04-20 Thread aleksander . helgaker
I'm learning to program python on my Mac and I'd like some help. I followed a tutorial which showed how to make a calculator for working out the area of a shape. E.g. the area of a circal is pi*r*r. To practice a bit I thought I'd make the program more advanced but I'm already having difficoulties