Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54364
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <venkat.boffin@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.133 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.80; '*S*': 0.07; "'',": 0.07; 'skip:\\ 20': 0.07; 'spaces': 0.09; 'retrived': 0.16; 'subject:Remove': 0.16; 'tuple': 0.16; 'all,': 0.19; "skip:' 30": 0.19; 'format,': 0.24; '---': 0.24; '----': 0.29; 'message-id:@mail.gmail.com': 0.30; 'this.': 0.32; 'subject:from': 0.34; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'remove': 0.60; 'skip:n 10': 0.64; 'url:gif': 0.82; 'url:images': 0.83; "'3',": 0.84; 'url:linked': 0.84; 'url:themes': 0.84; 'url:wp- content': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Xy+5aSHjiz17r5IcDxMEnw2ND4OhDt9zS0g8Lgekyl0=; b=f/MKgUCvROmcV+lKN3mkCIFaVaRl/R5lYA4qI70wskYAbzk/UxR3Ul3hhpcj22QwPL zXTEazyHH1Ds3CgNBozgEmQFcmLHsgyYqPlpL0LgHqenOQ5tuerFRv8BwztAVHEqUmcy wWHkT/N+miUGQQWwF8aR46ED6+uwfQ8aGxJoM2Ly9YVCanDCg6SxzPwhS0nwsqrYYzl/ KzldYluWOtmeNPzbWgy2IpHWw7Fjew/H471qza13EbCTQjUdAmVhyOzKcWMNw6oxHxx5 6p+vDbtOvM2dxdvyKr+fHhKJdSVkGO5nInywZ4ChHs7C0161vyKbnXoirXRNQXyvyyhy VBpw== |
| MIME-Version | 1.0 |
| X-Received | by 10.180.9.203 with SMTP id c11mr5409685wib.64.1379481138824; Tue, 17 Sep 2013 22:12:18 -0700 (PDT) |
| Date | Wed, 18 Sep 2013 10:42:18 +0530 |
| Subject | Remove \n, " " from tuple. |
| From | Venkat Addala <venkat.boffin@gmail.com> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=001a11c22634410cc304e6a17b59 |
| X-Mailman-Approved-At | Wed, 18 Sep 2013 10:38:29 +0200 |
| 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.110.1379493511.18130.python-list@python.org> (permalink) |
| Lines | 80 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1379493511 news.xs4all.nl 15874 [2001:888:2000:d::a6]:34692 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:54364 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi all, I have a tuple in this format, which is retrived using MySQLdb, now i want to remove \n and extra spaces in this. 13L, 'ssDsC', 'CEs5s1, DsC', 'srylscetsmight\nghtscetylsse', '3', '3q25.1', 151531861L, 151546276L, '+', '1 kjafhkfhlad\fdfdsdf ghtscetylsse \ncontends the sctivity of dsfdk srylsmine N-scetyltrsnsfersse thst scts ss s cstslyst inbiotrsnsformstion fghjfg for srylsmine snd bvhghbh smine csrcinogens. Bgskjdg in ssDsC dfkdkdf in bresst snd prostrste csncer.', '', 'Msdhurs \nsgdfgssssvslingegowds', dstetime.dste(2013, 6, 14), None -- Regards Venkat Addala <http://in.linkedin.com/in/venkataddala/> Computational Biologist O__ ---- _/ /`_ --- (*) \(*) --
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Remove \n, " " from tuple. Venkat Addala <venkat.boffin@gmail.com> - 2013-09-18 10:42 +0530
csiph-web