Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61036

Re: Input without line break, is it possible?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.063
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'string': 0.09; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:break': 0.16; 'subject:possible': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'parse': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'like,': 0.36; 'subject:?': 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; 'email addr:gmail.com': 0.63; 'yes': 0.68
X-Virus-Scanned amavisd-new at torriefamily.org
Date Wed, 04 Dec 2013 09:23:00 -0700
From Michael Torrie <torriem@gmail.com>
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>
In-Reply-To <6f831d02-26bf-4e68-a1c6-a9c9e87db1dc@googlegroups.com>
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 <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.3575.1386174218.18130.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1386174218 news.xs4all.nl 2903 [2001:888:2000:d::a6]:56405
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61036

Show key headers only | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Input without line break, is it possible? geezle86@gmail.com - 2013-12-04 07:38 -0800
  Re: Input without line break, is it possible? Tim Chase <python.list@tim.thechases.com> - 2013-12-04 09:55 -0600
  Re: Input without line break, is it possible? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-04 16:04 +0000
  Re: Input without line break, is it possible? [correction] Tim Chase <tim@thechases.com> - 2013-12-04 10:07 -0600
  Re: Input without line break, is it possible? Chris Angelico <rosuav@gmail.com> - 2013-12-05 03:14 +1100
  Re: Input without line break, is it possible? Michael Torrie <torriem@gmail.com> - 2013-12-04 09:23 -0700
  Re: Input without line break, is it possible? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-04 16:27 +0000
  Re: Input without line break, is it possible? Chris Angelico <rosuav@gmail.com> - 2013-12-05 03:33 +1100
  Re: Input without line break, is it possible? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-04 16:36 +0000
  Re: Input without line break, is it possible? Michael Torrie <torriem@gmail.com> - 2013-12-05 08:21 -0700

csiph-web