Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'string': 0.09; 'hour.': 0.09; 'lawrence': 0.09; 'python': 0.11; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:break': 0.16; 'subject:possible': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header :User-Agent:1': 0.23; 'parse': 0.24; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'am,': 0.29; 'like,': 0.36; 'subject:?': 0.36; 'should': 0.36; 'message-id:@gmail.com': 0.38; 'question,': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'course.': 0.60; "you're": 0.61; 'email addr:gmail.com': 0.63; 'real': 0.63; 'selling': 0.65; 'yes': 0.68 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Thu, 05 Dec 2013 08:21:29 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Input without line break, is it possible? References: <6f831d02-26bf-4e68-a1c6-a9c9e87db1dc@googlegroups.com> <529F56E4.9030308@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386256918 news.xs4all.nl 2942 [2001:888:2000:d::a6]:53756 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61088 On 12/04/2013 09:36 AM, Mark Lawrence wrote: > On 04/12/2013 16:23, Michael Torrie wrote: >> On 12/04/2013 08:38 AM, geezle86@gmail.com wrote: >>> my question, can i make it in just a single line like, >>> >>> 1 2 3 4 5 6 (and so forth) >>> >>> Can I? >> >> Yes of course. raw_input() is going to give you a string that you can >> then parse any way you want. >> > > That's it lad, you're in detention for one hour. You will write > repeatedly "I should be selling Python 3 instead of Python 2" :) Yup. Though if he is using Python 2, then input() is a real no-no.