What's the very simplest way to run some Python from a button on a web page?

tinnews at isbd.co.uk tinnews at isbd.co.uk
Sun Jan 22 05:05:08 EST 2012

Chris Angelico <rosuav at gmail.com> wrote:
> On Sun, Jan 22, 2012 at 3:36 PM, Tim Roberts <timr at probo.com> wrote:
> > It seems what you're after is AJAX.  If you are using a Javascript
> > framework like jQuery, it's easy to fire off an asynchronous request back
> > to your server that leaves the existing page alone.
> If you aren't using a framework, look up the XMLHttpRequest object -
> that's what does the work. As Tim says, there's no lack of good
> material on the subject.
OK, thanks both, with those pointers I think I'm on the way.

Chris Green

More information about the Python-list mailing list