utils.py 195 B

12345678
  1. import random
  2. import string
  3. def get_random_string(length=16):
  4. letters = string.ascii_lowercase
  5. result_str = "".join(random.choice(letters) for i in range(length))
  6. return result_str