Remove \n, " " from tuple.

Venkat Addala venkat.boffin at gmail.com
Wed Sep 18 01:12:18 EDT 2013


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__  ----
 _/ /`_ ---
(*) \(*) --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130918/8bc319e2/attachment.html>


More information about the Python-list mailing list