Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75857
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.news.ox.ac.uk!news.ox.ac.uk!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <elearn2014@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.115 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.77; '*S*': 0.00; 'subject:string': 0.09; '"/"': 0.16; 'parts.': 0.16; 'subject:simple': 0.16; 'header:User- Agent:1': 0.23; 'skip:" 20': 0.27; 'subject:the': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'received:10': 0.37; 'message-id:@gmail.com': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'skip:x 10': 0.40; 'simple': 0.61; 'subject:more': 0.64; 'more': 0.64 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=njrKo+FuHUsuFBKPkXojb3qIiZdbBmTv215p2qHhrsI=; b=h2gT3fw8XageiGv+WeG3dqpfCWxfG1LH8dhuj11AL28YznbEOsWUSz/N2Fx3BuE9j6 HYMTVOu9cwj+J5P1IaGtJqGX83LHUne5jAttefT+EnspVlutgHWABwE9KAd++hyGr6q1 nWqBEnTWqaMzkfszTw/FqUulcfWH3PzaTyJRu8zCLKx2zYPQ7a+Dkn29drzb97RTW3Qm spqiAKowHjrcP8G+YiJwenWh0cjUN6fT+KvNmJqIlk2DNJuh7cVmBHY88Hj6m3YYhrhy 5AxvGuRjD1XdEG1NxvHOHCOGXqUMGKUwpJlT+hn/j26JRUO8UgZL5XD6VwnVO395syFf 993Q== |
| X-Received | by 10.70.61.67 with SMTP id n3mr11239386pdr.90.1407457395335; Thu, 07 Aug 2014 17:23:15 -0700 (PDT) |
| Date | Fri, 08 Aug 2014 08:23:06 +0800 |
| From | elearn <elearn2014@gmail.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | more simple to split the string? |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| 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.12730.1407457404.18130.python-list@python.org> (permalink) |
| Lines | 8 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1407457405 news.xs4all.nl 2892 [2001:888:2000:d::a6]:52130 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:75857 |
Show key headers only | View raw
str='(\\HasNoChildren \\Junk) "/" "[Gmail]/&V4NXPpCuTvY-"'
x=str.split(' "')
[i.replace('"','') for i in x]
['(\\HasNoChildren \\Junk)', '/', '[Gmail]/&V4NXPpCuTvY-']
x.strip(" ") will create four parts.
is there more simple to do that ?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
more simple to split the string? elearn <elearn2014@gmail.com> - 2014-08-08 08:23 +0800
csiph-web