Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74993
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!lightspeed!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'removes': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:extra': 0.09; 'subject:xml': 0.09; 'trailing': 0.09; 'suggest': 0.14; 'carriage': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'strip': 0.31; 'anyone': 0.31; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'space': 0.40; 'between': 0.67; 'header:Reply-To:1': 0.67; 'default': 0.69; 'reply- to:addr:gmail.com': 0.80; 'received:myvzw.com': 0.84; 'returns.': 0.84; 'subject:space': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Monte Milanuk <memilanuk@invalid.com> |
| Subject | Re: Removing xml element and strip extra space |
| Date | Tue, 22 Jul 2014 12:23:31 +0000 (UTC) |
| References | <CAGxOggEanm=FmXLgcP4tRuwSzvURANeNtShZbFxeGKMSSXZAmA@mail.gmail.com> |
| X-Gmane-NNTP-Posting-Host | 248.sub-70-199-137.myvzw.com |
| User-Agent | slrn/1.0.1 (Linux) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | Monte Milanuk <memilanuk@gmail.com> |
| 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.12179.1406031826.18130.python-list@python.org> (permalink) |
| Lines | 7 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1406031826 news.xs4all.nl 2973 [2001:888:2000:d::a6]:33942 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 2664 |
| X-Received-Body-CRC | 3420667170 |
| Xref | csiph.com comp.lang.python:74993 |
Show key headers only | View raw
On 2014-07-22, varun bhatnagar <varun292006@gmail.com> wrote: > I want to strip the space between *<nodePeriod>* and *</nodeInfo>* > Can anyone suggest a way out to do that? Look at str.rstrip() - by default it removes trailing whitespace including carriage returns.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Removing xml element and strip extra space Monte Milanuk <memilanuk@invalid.com> - 2014-07-22 12:23 +0000
csiph-web