Re: [Tutor] python books

2009-04-14 Thread Ian Egland
I know it's not in PDF, but I thought it would be worth mentioning Python for Software Design: How to Think Like a Computer Scientist. I discovered this exactly a week after it was released, ordered it, and have been extremely happy with it so fa

Re: [Tutor] Inspiration/examples

2009-03-22 Thread Ian Egland
I am just as interested in this. So far I've found http://openbookproject.net/pybiblio/practice/ from the openbookproject. -Ian On Sun, Mar 22, 2009 at 6:02 PM, Mathias Andersson wrote: > Hi all! > > Im currently trying to learn how to use python. But my only problem seems > to be at what to ma

Re: [Tutor] Simple User Entry Verification

2009-03-14 Thread Ian Egland
I'm sorry I wasn't more specifc. I will try to next time. Thanks Alan for you help. (Both of you.) -Ian On Sat, Mar 14, 2009 at 9:13 PM, R. Alan Monroe wrote: > > Success (as in number is entered) = Success > > Failure (as in a letter is entered) = failure > > Working as designed :) Python is _s

[Tutor] Simple User Entry Verification

2009-03-14 Thread Ian Egland
Newbie here who can't figure out why this doesn't work: start = input("Please enter the starting number.\n>") print(type(start)) while type(start)!=float: start = input("Sorry, that number was invalid.\nPlease enter the starting number.\n>") print(type(start)) _

Re: [Tutor] Convert String to Int

2009-01-18 Thread Ian Egland
Actually, nobody told me how to catch it before it occurs, though this "after error" stuff is new to me. Could you send an example of how to catch it beforehand? Just for the record? Thanks. Ian On Sun, Jan 18, 2009 at 8:35 PM, Marc Tompkins wrote: > On Sun, Jan 18, 2009 at 5:15 P

[Tutor] Convert String to Int

2009-01-18 Thread Ian Egland
'Allo All. I know that, should you want to get an int from the user, you use int(input("Question!")). However, what if the user wasn't that savvy and didn't realize he/she HAD to enter a number? Program crash. Is there a way that I can get the input as a string, check and see if it's convertible t

[Tutor] Fixed

2009-01-17 Thread Ian Egland
Found it- wasn't closing the ()'s in the print()'s. Thanks anyway, sorry for filling your inbox. -Ian ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Help with elif

2009-01-17 Thread Ian Egland
#x27;ve just started. print("[Temperature Converter, First Edition]") print("Created on January 17th, 2009 by Ian Egland") temp1 = int(input("Please enter a temperature: ")) scale = input("Convert to (F)ahrenheit or (C)elcius?") if scale == "F":

[Tutor] Best Python3000 Tutorial for Beginner

2009-01-17 Thread Ian Egland
Hello all, I just joined this mailing list. I am a beginner to programming in general and would really appreciate a tutorial for Python3000 that at least covers the basics. I have tried reading the manual, but I think it was written for more experienced programmers wishing to switch to python rath

Re: [Tutor] New 2 Python- Script 'kill' function/Ubuntu File Browser hide hidden files

2008-01-13 Thread Ian Egland
Thanks, you helped more than you know. -Ian On Jan 13, 2008 3:58 PM, bob gailer <[EMAIL PROTECTED]> wrote: > Ian Egland wrote: > > Hello, I am new to Python (and OO programming in general) and I have a > > script that I made through a tutorial. > > > > # -*- cod

[Tutor] New 2 Python- Script 'kill' function/Ubuntu File Browser hide hidden files

2008-01-13 Thread Ian Egland
Hello, I am new to Python (and OO programming in general) and I have a script that I made through a tutorial. # -*- coding: utf-8 -*- # Copyright (C) 2007-2008 Ian Egland # From the Non-Programmer's Guide to Python By Josh Cogliati # 5.3 Exercise 1 # Modify the password guessing program to

[Tutor] Fwd: How to stop a script.

2007-12-28 Thread Ian Egland
Thanks, I will keep that in mind the next time I "experiment". :-P -Ian -- Forwarded message -- From: Tiger12506 <[EMAIL PROTECTED]> Date: Dec 28, 2007 5:42 PM Subject: Re: [Tutor] How to stop a script. To: tutor@python.org Ctrl+c will issue a KeyboardInterrupt which breaks out

Re: [Tutor] How to stop a script.

2007-12-28 Thread Ian Egland
once in > a while, which will make things much much slower. If you're anything like > me, threading is something you'll want to put off for a month or so while > you get your Python sea legs... > > On Dec 28, 2007 8:36 AM, Ian Egland <[EMAIL PROTECTED]> wrote: >

[Tutor] How to stop a script.

2007-12-28 Thread Ian Egland
Hi everyone... I litterally just started python and did the following 'hello world' related tutorial. http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro Being the kind of person who like to experiment, I tried changing the following scrip