Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_form = '''
- <form method="post" action="index.php">
- <b>Enter the username :</b><input type="text" name="rollno" size="16" maxlength="8">
- <b>Enter the password:</b><input type="password" name="pwd" size="16">
- <input type="submit" name="submit" value="Submit">
- </form>
- '''
- #all you have to take care is they have the same name for input fields and submit button
- r.set_data(new_form)
- br.set_response(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement