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


Groups > comp.lang.python > #61041

Re: Input without line break, is it possible?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Input without line break, is it possible?
Date 2013-12-04 16:36 +0000
References <6f831d02-26bf-4e68-a1c6-a9c9e87db1dc@googlegroups.com> <529F56E4.9030308@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3580.1386175207.18130.python-list@python.org> (permalink)

Show all headers | View raw


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" :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

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