Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Peter Pearson Newsgroups: comp.lang.python Subject: Re: Question about split method Date: 5 Dec 2015 19:29:05 GMT Lines: 15 Message-ID: References: <169982db-7285-484a-9a48-0d4a2ea7dea1@googlegroups.com> X-Trace: individual.net hlTLFTgAZXjDawiw59rm/woBnqE0bw/BW1U6REaBtc7JZH3HtL Cancel-Lock: sha1:x8CgjjH3//ha6uCV0V4GQ6CtG3g= User-Agent: slrn/pre1.0.0-18 (Linux) Xref: csiph.com comp.lang.python:100043 On Wed, 2 Dec 2015 14:44:30 -0600, Ian Kelly wrote: > On Wed, Dec 2, 2015 at 2:37 PM, Robert 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.