Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'python': 0.08; 'am,': 0.14; 'wrote:': 0.14; 'angelico': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'int.': 0.16; 'subject:() ': 0.16; 'subject:function': 0.16; 'mon,': 0.17; 'language': 0.18; 'header:In-Reply-To:1': 0.21; 'variable': 0.21; 'trying': 0.23; 'lines,': 0.23; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'string': 0.26; "i'm": 0.27; 'message- id:@mail.gmail.com': 0.28; 'problem': 0.28; 'looks': 0.31; 'to:addr:python-list': 0.33; 'copying': 0.33; 'chris': 0.34; 'showing': 0.34; 'quite': 0.36; 'several': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'hello,': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'subject: (': 0.39; 'received:209': 0.39; 'correctly': 0.39; 'to:addr:python.org': 0.39; 'simply': 0.60; 'lengthy': 0.84; 'pasting': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=s+wJDAaoF1FgwKtunSvy5cTRFn/CdyscsOj1jwl8cqM=; b=s/jqhJJjtLV0CnTBj+FyqBKVx6CfnlrVn1lXZZhOmdDN4V2vfT8mJNINYL8XhN/8DX C4fNZnJ0fRumjjx1KDxnCsBtt9VlRFZ97++/aat5SpVKhcxB1sTTUjNzkT9Aht0lrEbG ZyN4IaP+IpF+U1XfETB1bfRM6oCV7wGvh2unk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GxzPAkhWWRLrJvb31vlt+kR4UQNX/E1c2psTurq2do3kTYvLqrDitTKoP2M/2TMw/5 7lzzIHicr9C8rOoh8UNSo17FIdqz6nMrvCv657DRWJZtAVXEJVeWqS5EFgaKyTGESC0G MFNIqxhW+K888bZVhpjm8G8/UpbggGdYP14rI= MIME-Version: 1.0 In-Reply-To: <1dc07caf-c938-42d0-8ba4-4fc9564af84e@glegroupsg2000goo.googlegroups.com> References: <1dc07caf-c938-42d0-8ba4-4fc9564af84e@glegroupsg2000goo.googlegroups.com> Date: Mon, 23 May 2011 08:49:17 +1000 Subject: Re: Strange behaviour of input() function (Python 3.2) From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306104561 news.xs4all.nl 49183 [::ffff:82.94.164.166]:56982 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6018 On Mon, May 23, 2011 at 8:43 AM, sunrrrise wrote: > Hello, > this is my first post. I'm trying to learn Python language which I find g= reat, but I have a big problem with its editors/IDEs. Welcome! > b to: =A0Wprowadz zmienna b: 2 This looks wrong. Are you copying and pasting several lines, or simply pressing the 2 key followed by Enter? It's showing a lengthy string in the variable 'b', which - quite correctly - cannot be cast to int. Chris Angelico