import random
import string


def rand_name(len_ = 4):
    """generates a random string for naming recording sessions"""
    return ''.join(random.SystemRandom().choice(string.ascii_letters + string.digits) for _ in range(len_))