Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = []
- b = []
- c = []
- d = []
- if request.method == "POST":
- f = request.form
- for key in f.keys():
- print("THIS IS THE KEY --",key)
- for value in f.getlist('select_element_by'):
- print(value)
- a.append(value)
- for value in f.getlist('locator'):
- print(value)
- b.append(value)
- for value in f.getlist('trailer'):
- print(value)
- c.append(value)
- for value in f.getlist('trailer_text'):
- print(value)
- d.append(value)
- for q,w,e,r in zip(a,b,c,d):
- print("THIS IS THE FIRST ENTRY")
- print(q,w,e,r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement