Guest User

Untitled

a guest
Dec 14th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. result = []
  2. redone = [''.join(i) for i in itertools.product(printable, repeat = 2)]
  3. result.append(redone)
  4. def dishack():
  5. for f in sorted(set(*redone)):
  6. discount.send_keys(f)
  7. driver.find_element_by_class_name('classname').click()
  8. time.sleep(5)
  9. try:
  10. disterror = driver.find_element_by_xpath('XPATH')
  11. print 'Yes'
  12. except:
  13. print 'nope'
  14.  
  15. for f in sorted(set(*redone)):
  16. TypeError: set expected at most 1 arguments, got 10000
Add Comment
Please, Sign In to add comment