Sunday, August 2, 2009

Python CGI Script?

I need to create the following, which is pretty simple and I can create the HTML form, but I have no idea how to write the Python CGI script... (below part2)





[1]The first is an HTML form that allows the user to enter





values of a, b and c, the coefficients of a quadratic equation.





The HTML form should have a SUBMIT button with an action attribute .





The user will open this form in his browser by specifying the appropriate URL





[2]The second file will be a Python CGI program that will be invoked by the





action attribute of the SUBMIT button on the HTML form. This program should





compute the roots of the quadratic equation along the lines done in class. Using the CGI





interface, this program should obtain the values of a, b and c entered by the user.





The program should return the results to the user in his browser.





- If anyone can help me figure out this Python Program I'd be greatly appreciative, for I am lost.

Python CGI Script?
Does not look easy. May be you can contact a python expert. Check websites like http://askexpert.info/


No comments:

Post a Comment