import string
import random


def random_string(acceptable=string.ascii_letters, length=5):
    """
    create a random string for some of the tamper scripts that
    need a random string in order to work properly
    """
    random_chars = [random.choice(acceptable) for _ in range(length)]
    return ''.join(random_chars)