sehia

form.py

May 1st, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #!/Python27/python
  2.  
  3. #Nama : Budi Darmawan
  4. #Kelas : 4A
  5. #NIM : 15090088
  6. # form.py
  7. print "Content-type: text/html"
  8. print
  9. print "<html>"
  10. print "<head><title>Test Form</title></head>"
  11. print "<body>"
  12. print " <form action='kirim.py' method='POST'>"
  13. print "<br>Username</br>"
  14. print " <input type='text' name='username' />"
  15. print "<br>Password</br>"
  16. print " <input type='text' name='password' />"
  17. print " <input type='submit' value='Submit' />"
  18. print " </form>"
  19. print "</body>"
  20. print "</html>"
Advertisement
Add Comment
Please, Sign In to add comment