[Tutor] Python and Web
Chris “Kwpolska” Warrick
kwpolska at gmail.com
Mon Aug 12 16:26:50 CEST 2013
On Fri, Aug 9, 2013 at 2:16 PM, Engineering <engg at cleantechsolution.in> wrote:
> Dear All
>
> After a lot of struggling for weeks , I can read the serial port readings in
> my web page. Below is the code
>
> [snip double-spaced code, courtesy of Outlook 2007]
>
> BUT is this good programming ? I personally do not feel so.
>
> SECONDLY , during the whole execution process , the cursor is showing busy
> and I am prevented to click anything else. Why is this so? How to avoid it.
> [snip 14 lines of signature and emptiness]
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
You already posted this 4 hours ago. Additionally, gmail thinks both
messages are spam. You also posted in ugly HTML. Please do not do
all three of those.
About your code, you do something really ugly in your JS. You are
sending JS code forever. This is evil. You should serve the value
somewhere and use AJAX to pull it.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
More information about the Tutor
mailing list