diff options
Diffstat (limited to 'gn3/random.py')
-rw-r--r-- | gn3/random.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gn3/random.py b/gn3/random.py deleted file mode 100644 index f0ba574..0000000 --- a/gn3/random.py +++ /dev/null @@ -1,11 +0,0 @@ -""" -Functions to generate complex random data. -""" -import random -import string - -def random_string(length): - """Generate a random string of length `length`.""" - return "".join( - random.choices( - string.ascii_letters + string.digits, k=length)) |