def get_random_alphanumeric(length=10):
 return str(uuid.uuid4()).replace('-', '')[:length]

def get_random_alphanumeric ( length = 10 ) : return str ( uuid . uuid4 ( ) ) . replace ( '-' , '' ) [ : length ]
generate a random alphanumeric string of the specified length .