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
Scientisthttp://www.greenteapress.com/thinkpython/index.html.
I discovered this exactly a week after it was released, ordered it, and have
been extremely happy with it so
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 zep...@gmail.com wrote:
Hi all!
Im currently trying to learn how to use python. But my only problem seems
to be
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))
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 amon...@columbus.rr.comwrote:
Success (as in number is entered) = Success
Failure (as in a letter is entered) = failure
Working as
at 5:15 PM, Ian Egland echol...@gmail.com wrote:
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
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
.
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:
temp2 = (9/5)*temp1+32
print(temp1, C =, temp2, F
elif scale == C: # Error
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
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 keep
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.
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2008
Hi everyone... I litterally just started python and did the following 'hello
world' related tutorial.
http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro
http://hkn.eecs.berkeley.edu/%7Edyoo/python/idle_intro
Being the kind of person who like to experiment, I tried changing the
following script
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 of
12 matches
Mail list logo