Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54339 > unrolled thread
| Started by | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| First post | 2013-09-17 19:41 -0400 |
| Last post | 2013-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.
Re: MySQLdb Help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-17 19:41 -0400
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2013-09-17 19:41 -0400 |
| Subject | Re: 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/
Back to top | Article view | comp.lang.python
csiph-web