Advertisement
Guest User

Untitled

a guest
Jan 5th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. new_form = '''
  2. <form method="post" action="index.php">
  3. <b>Enter the username :</b><input type="text" name="rollno" size="16" maxlength="8">
  4. <b>Enter the password:</b><input type="password" name="pwd" size="16">
  5. <input type="submit" name="submit" value="Submit">
  6. </form>
  7. '''
  8. #all you have to take care is they have the same name for input fields and submit button
  9. r.set_data(new_form)
  10. br.set_response(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement