SHARE
TWEET

randomid

Koopcio Nov 14th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     while True:
  2.         generated = ''
  3.         l = []
  4.         l.append(chr(random.randint(33,47)))
  5.         l.append(chr(random.randint(33,47)))
  6.         l.append(chr(random.randint(65,90)))
  7.         l.append(chr(random.randint(65,90)))
  8.         l.append(chr(random.randint(97,122)))
  9.         l.append(chr(random.randint(97,122)))
  10.         l.append(chr(random.randint(48,57)))
  11.         l.append(chr(random.randint(48,57)))
  12.         random.shuffle(l)
  13.  
  14.         for i in range(len(l)):
  15.             generated += l[i]
  16.  
  17.         for j in range(len(table)):
  18.             if table[j][0] == generated:
  19.                 go = False
  20.                 break
  21.         else:
  22.             go = True
  23.    
  24.         if go:
  25.             break
  26.     return generated
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top