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


Groups > comp.lang.python > #54364 > unrolled thread

Remove \n, " " from tuple.

Started byVenkat Addala <venkat.boffin@gmail.com>
First post2013-09-18 10:42 +0530
Last post2013-09-18 10:42 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Remove \n, " " from tuple. Venkat Addala <venkat.boffin@gmail.com> - 2013-09-18 10:42 +0530

#54364 — Remove \n, " " from tuple.

FromVenkat Addala <venkat.boffin@gmail.com>
Date2013-09-18 10:42 +0530
SubjectRemove \n, " " from tuple.
Message-ID<mailman.110.1379493511.18130.python-list@python.org>

[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__  ----
 _/ /`_ ---
(*) \(*) --

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web