def get_random_string(length):
"""
returns a random string with size length (numerical, alphabetical and some random other signs)
"""
result = ""
for _ in range(0, length):
result += random.choice(string.printable)
return result
评论列表
文章目录