Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82257
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: serial data and web |
| Date | 2014-12-09 23:28 -0500 |
| Organization | IISS Elusive Unicorn |
| References | <m66n29$3gk$1@speranza.aioe.org> <mailman.16769.1418126307.18130.python-list@python.org> <m66t70$jlh$1@speranza.aioe.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16790.1418185710.18130.python-list@python.org> (permalink) |
On Tue, 09 Dec 2014 14:24:51 +0100, manduk <nasdul@NOSPAMxxx.it> declaimed
the following:
>
>> "A web page"?
>> Did you mean a Web server?
>
>ok I mean I would like to view the datas on a web page
>
>> Basically, you'll have to upload your data to a Web Server, then the
>> server will serve your data.
>> Depending on how your server is setup, you'll have to use FTP, RSync,
>> HTTP GET or POST or PUT,...
>> There is plenty of ways to upload some content.
>>
>not only upload in a folder of a webserver...I wish to see in real time
>the datas in a public html page.
>I get the data from serial port and then I put them in a remote page.
>Which is the best way to transfer datas from a text file for example and
>send it on web?
Normal HTML is a "pull" technology... The client (browser) has to ask
the server to send it the page.
To have dynamically updating web page requires either: a web page that
does a timed redirect back to itself (going to be very annoying as the page
keeps reloading at whatever interval was given to the redirect), OR the use
of Javascript to modify the HTML during the load, OR Javascript to modify
pages in real-time -- cf: http://en.wikipedia.org/wiki/Dynamic_HTML and
http://en.wikipedia.org/wiki/Ajax_%28programming%29
Python would only be involved in updating the data on the server -- on
it's own it likely can't push updates to the browser.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
serial data and web manduk <nasdul@NOSPAMxxx.it> - 2014-12-09 12:39 +0100
Re: serial data and web Mihamina Rakotomandimby <mihamina.rakotomandimby@rktmb.org> - 2014-12-09 14:55 +0300
Re: serial data and web manduk <nasdul@NOSPAMxxx.it> - 2014-12-09 14:24 +0100
Re: serial data and web Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-09 23:28 -0500
Re: serial data and web Mihamina Rakotomandimby <mihamina.rakotomandimby@rktmb.org> - 2014-12-10 09:55 +0300
csiph-web