old_contents: import random
  import string
  
  length = 40
  
  def generate():
          return ''.join(random.choice(string.ascii_letters + string.digits) for x in range(length))
  
  # Local Variables:
  # indent-tabs-mode: nil
  # End:
  # exrc: ai et sw=4 ts=4
  
new_contents: import random
  import string
  
  length = 40
  characters = string.ascii_letters + string.digits
  
  def generate():
          return ''.join(random.choice(characters) for x in range(length))
  
  # Local Variables:
  # indent-tabs-mode: nil
  # End:
  # exrc: ai et sw=4 ts=4
  
subject: allow default list of characters to be set too