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


Groups > comp.lang.python > #34612

Re: MySQLdb insert HTML code error

References (1 earlier) <ka5u84$pij$1@ger.gmane.org> <CAKhY55ODkiru_2Vn4e=CNoKnvdaNehQ+4+XJ8xcPLsi9R+x=KA@mail.gmail.com> <ka5v4n$vu8$1@ger.gmane.org> <CAKhY55OFzkf4V9d-bu6C5BkWYty1ptcdRKd1jM+8QUF3eKwr9g@mail.gmail.com> <CAPTjJmqbHLLtfD15hx3yBrqhi9cSF3YGAHj3HcXDbaTgbw=4sQ@mail.gmail.com>
Date 2012-12-11 12:19 +0100
Subject Re: MySQLdb insert HTML code error
From Anatoli Hristov <tolidtm@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.721.1355224790.29569.python-list@python.org> (permalink)

Show all headers | View raw


> SSCCE starts with "Short". The HTML you unloaded into that email
> hardly qualifies.
>
> When you're trying to figure out a problem that appears to happen only
> when you have X and not when you have Y, see what the smallest example
> data for X and Y are that continue to exhibit the difference. It's way
> easier, especially on those of us who might have been interested in
> helping, had it been possible to paste your failing code into IDLE.
> Plus, in cutting it down you might discover what the real cause of the
> problem is.
>
> Of course, sometimes you fail to cut something down as expected. In
> this example, HTML didn't turn out to be the problem, so cutting it
> down to "<html></html>" wouldn't have worked. But do at least _try_,
> and then mention what worked and didn't work in your question.

This is the reason  I posted in the beginning only the part with the
problem function.
-    after I posted the all string (the HTML) as there was some miss
understandings:
-    I will try to follow the (sscce) next time, excuse me as I'm a
beginner in coding at all.

Regards

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: MySQLdb insert HTML code error Anatoli Hristov <tolidtm@gmail.com> - 2012-12-11 12:19 +0100

csiph-web