Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57099
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <nedbat@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.041 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.01; 'string.': 0.05; 'subject:Error': 0.07; 'converted': 0.09; 'python': 0.11; 'roy': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'value.': 0.19; 'entered': 0.20; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'integer': 0.24; 'string,': 0.24; 'first,': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'am,': 0.29; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; "you're": 0.61; 'smith': 0.68; 'goal': 0.75; 'article': 0.77; 'batchelder': 0.84; 'subject:Testing': 0.84; 'scott': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Gjmtg9/slzHwOHyrqpwIdyVPkPINkPFnJIEtLYzPERE=; b=iUsW80JO5Cr682Ii+qtIf5EsZDlp0etV/RW0U7IO9XcqjQmmnd3Qh4yZ+YBEvA8pKj uD7h/3EEo3KurzgozIXH5p1wUnTRPu90DtKNdDfvHfgKMStXzWnem4R1+FRlFFe1RiwH fN6jEihex6Ph04E2BLd3v+tHMI6waCDH0YCQILaey6hNiVSwCB2GAbrvWV6N1G+fWotw rXwfk5pw+MqYgSRbkaXFt/056FvA9KTjLoJZZNADU0+iTawRrxFqcy/IhuRKReJAH3fJ moiF7tT1L6bX6gyVqExDZePW08am50/zsgZzQrtUycwxfBHSFijs5maMsEDwADrLnEL8 +gKA== |
| X-Received | by 10.224.165.12 with SMTP id g12mr11291743qay.89.1382188049948; Sat, 19 Oct 2013 06:07:29 -0700 (PDT) |
| Sender | Ned Batchelder <nedbat@gmail.com> |
| Date | Sat, 19 Oct 2013 09:07:29 -0400 |
| From | Ned Batchelder <ned@nedbatchelder.com> |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
| MIME-Version | 1.0 |
| To | Roy Smith <roy@panix.com>, python-list@python.org |
| Subject | Re: Error Testing |
| References | <33549834-2f27-47f3-abea-eb3486909dec@googlegroups.com> <mailman.1254.1382186691.18130.python-list@python.org> <roy-1C4E8F.08571219102013@news.panix.com> |
| In-Reply-To | <roy-1C4E8F.08571219102013@news.panix.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1257.1382188058.18130.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1382188058 news.xs4all.nl 15986 [2001:888:2000:d::a6]:55719 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:57099 |
Show key headers only | View raw
On 10/19/13 8:57 AM, Roy Smith wrote: > On 10/19/13 8:23 AM, Scott Novinger wrote: >>> My goal is to make sure that the value entered for the radius is an integer >>> value. > In article <mailman.1254.1382186691.18130.python-list@python.org>, > Ned Batchelder <ned@nedbatchelder.com> wrote: > >> First, radius is the result of input(), so it is >> always a string, never an int. > input() returns ints or floats for values which can be converted to > those. I suspect you're thinking of raw_input()? In Python 3, input() returns a string. --Ned.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Error Testing Scott Novinger <scnovinger@gmail.com> - 2013-10-19 05:23 -0700
Re: Error Testing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-19 13:37 +0100
Re: Error Testing Scott Novinger <scnovinger@gmail.com> - 2013-10-19 06:34 -0700
Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 00:42 +1100
Re: Error Testing rusi <rustompmody@gmail.com> - 2013-10-19 09:22 -0700
Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 09:28 +1100
Re: Error Testing Ned Deily <nad@acm.org> - 2013-10-19 15:46 -0700
Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 10:02 +1100
Re: Error Testing Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-20 12:18 -0400
Re: Error Testing Ned Batchelder <ned@nedbatchelder.com> - 2013-10-19 08:44 -0400
Re: Error Testing Roy Smith <roy@panix.com> - 2013-10-19 08:57 -0400
Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 00:04 +1100
Re: Error Testing Ned Batchelder <ned@nedbatchelder.com> - 2013-10-19 09:07 -0400
Re: Error Testing Roy Smith <roy@panix.com> - 2013-10-19 09:09 -0400
Re: Error Testing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-19 14:19 +0100
Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 00:01 +1100
Re: Error Testing David Robinow <drobinow@gmail.com> - 2013-10-19 14:08 -0400
Re: Error Testing Tim Chase <tim@thechases.com> - 2013-10-19 13:31 -0500
Re: Error Testing Terry Reedy <tjreedy@udel.edu> - 2013-10-19 15:50 -0400
What's wrong with Windows Command Prompt (was Re: Error Testing) Terry Reedy <tjreedy@udel.edu> - 2013-10-19 16:35 -0400
Re: What's wrong with Windows Command Prompt (was Re: Error Testing) Chris Angelico <rosuav@gmail.com> - 2013-10-20 09:15 +1100
Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 09:20 +1100
Re: What's wrong with Windows Command Prompt (was Re: Error Testing) David Robinow <drobinow@gmail.com> - 2013-10-21 15:55 -0400
Re: What's wrong with Windows Command Prompt (was Re: Error Testing) Tim Chase <python.list@tim.thechases.com> - 2013-10-21 15:29 -0500
csiph-web