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


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

Re: MySQLdb Help

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2013-09-17 19:41 -0400
Last post2013-09-17 19:41 -0400
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: MySQLdb Help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-17 19:41 -0400

#54339 — Re: MySQLdb Help

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2013-09-17 19:41 -0400
SubjectRe: MySQLdb Help
Message-ID<mailman.94.1379461317.18130.python-list@python.org>
On Tue, 17 Sep 2013 13:57:40 +0530, Venkat Addala <venkat.boffin@gmail.com>
declaimed the following:

>hey Ben,
>
>Thanks for your solution, i am done with this before, now i'm having
>problem after deleting \n and extra spaces, i want to update it back it
>again to mysql db.
>

	For the moment, ignoring "extra spaces"... What does...

cursor.execute("update gene set descrip = replace(descrip, '\n', ' '")
conn.commit()

... result in doing?

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [standalone]


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


csiph-web