import random
import string


def random_string(length=32):
  """
  Return a random string of ASCII letters and
  digits of length 'length'
  """
  # The random string
  s = ''
  
  # Add a number of random samples
  for i in range(length):
    s += random.choice(string.ascii_letters + string.digits)
  
  # Return the random string
  return s