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


Groups > comp.lang.python > #100043

Re: Question about split method

From Peter Pearson <pkpearson@nowhere.invalid>
Newsgroups comp.lang.python
Subject Re: Question about split method
Date 2015-12-05 19:29 +0000
Message-ID <dcgs81F9d3fU1@mid.individual.net> (permalink)
References <169982db-7285-484a-9a48-0d4a2ea7dea1@googlegroups.com> <mailman.147.1449089117.14615.python-list@python.org>

Show all headers | View raw


On Wed, 2 Dec 2015 14:44:30 -0600, Ian Kelly <ian.g.kelly@gmail.com> wrote:
> On Wed, Dec 2, 2015 at 2:37 PM, Robert <rxjwg98@gmail.com> wrote:
[snip]
>> ss0="1, 2, 4, 8, 16".split(", ")
[snip]
> Try help(str.split)

Or if, like me, you can't remember the magic word "str", ask:

help("".split)

and you know you're asking about the right "split".

-- 
To email me, substitute nowhere->runbox, invalid->com.

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


Thread

Question about split method Robert <rxjwg98@gmail.com> - 2015-12-02 12:37 -0800
  Re: Question about split method Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-02 14:44 -0600
    Re: Question about split method Robert <rxjwg98@gmail.com> - 2015-12-02 13:00 -0800
    Re: Question about split method Peter Pearson <pkpearson@nowhere.invalid> - 2015-12-05 19:29 +0000
      Re: Question about split method Robert <rxjwg98@gmail.com> - 2015-12-05 11:51 -0800
        Re: Question about split method Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-12-05 20:27 +0000
        Re: Question about split method Erik <python@lucidity.plus.com> - 2015-12-05 22:20 +0000

csiph-web