Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- result = []
- redone = [''.join(i) for i in itertools.product(printable, repeat = 2)]
- result.append(redone)
- def dishack():
- for f in sorted(set(*redone)):
- discount.send_keys(f)
- driver.find_element_by_class_name('classname').click()
- time.sleep(5)
- try:
- disterror = driver.find_element_by_xpath('XPATH')
- print 'Yes'
- except:
- print 'nope'
- for f in sorted(set(*redone)):
- TypeError: set expected at most 1 arguments, got 10000
Add Comment
Please, Sign In to add comment