Re: [Tutor] Converter

2008-03-20 Thread Alan Gauld
<[EMAIL PROTECTED]> wrote > Currently this is what I am working with. Thanks for posting that it gives us a much better idea of what stage you are at and lets us target our answers. Forget the Cocoa suggestion I made earlier, your basic Python skills need improving before you get to that. >

Re: [Tutor] Converter

2008-03-19 Thread bob gailer
[EMAIL PROTECTED] wrote: > print "Converter" > number = 2.5 > n = int(raw_input("Insert Feet Amount")) > while n > 0: > print n, "Feet is" > print n*12, "inches" > print n*30, "centimeters" > print > > Currently this is what I am working with. > 2 problems I am facing. > 1.

[Tutor] Converter

2008-03-19 Thread wackedd
print "Converter" number = 2.5 n = int(raw_input("Insert Feet Amount")) while n > 0: print n, "Feet is" print n*12, "inches" print n*30, "centimeters" print Currently this is what I am working with. 2 problems I am facing. 1. When I run the script and type in the amount of

Re: [Tutor] Converter

2008-03-19 Thread Alan Gauld
"Jack Lucas" <[EMAIL PROTECTED]> wrote >I am trying to make a converter for Python on my Mac. > I know I can find one online, but this is more satisfying. Have you looked at the Cocoa tutorial on using Python on MacOS? It is just such a convertor(for currency). Using that as a template it should

Re: [Tutor] Converter

2008-03-19 Thread Timmie
> start, as I want to be able to input any Unit to Convert (will keep it simple for now, feet, inches etc. and add Maybe you want to get inspired by a Gnome deskbar handler: http://www.kryogenix.org/days/2006/09/06/converter-deskbar ___ Tutor maillist -

[Tutor] Converter

2008-03-19 Thread Jack Lucas
I am trying to make a converter for Python on my Mac. I know I can find one online, but this is more satisfying. I am not sure exactly where to start. I want to be able to input a "Unit to Convert" a "Unit to Convert to" and an "Amount of Unit to Convert" For example Unit to Convert: centimeters,