Help to make a simple web page to do form post using python3 and get the value from form and display it on webpage
gmspro
gmspro at yahoo.com
Sun Jun 24 04:24:04 EDT 2012
Hi,
<form action="p.py" method="post">
<input type="text" name="username" />
<input type="submit" name="submit" />
</form>
Now how can i write the p.py to take the username after submit button click and display on webpage?
How to run web server too? How can i make it work under apache2 ?
#!/path/to/python3
.......
Any answer will be highly appreciated.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120624/baa3dcca/attachment.html>
More information about the Python-list
mailing list