[Tutor] A simple AJAX script needed

Alan Gauld alan.gauld at btinternet.com
Fri Jul 20 20:57:46 CEST 2012


On 20/07/12 16:41, Surya K wrote:
> Here is what i need:
>
> I want to create a HTML button.. when clicked (should only work for
> once) should invoke a python script.

So what bit do you need help on?
Can you create a web page?
Can you create a form?
Can you script a button?

Can you write a Python web app?
- using which framework?

You don't need AJAX to do what you ask. Simple CGI would work or any 
other web framework. But many frameworks support Ajax. But all do it 
differently.

But very little of this has to do with learning Python itself.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/





More information about the Tutor mailing list