def get_random_str(self):
        """ 随机生成16位字符串
        @return: 16位字符串
        """
        rule = string.letters + string.digits
        str = random.sample(rule, 16)
        return "".join(str)
def get_random_str(self):
        """ 随机生成16位字符串
        @return: 16位字符串
        """
        rule = string.letters + string.digits
        str = random.sample(rule, 16)
        return "".join(str)
def get_random_str ( self ) : rule = string . letters + string . digits str = random . sample ( rule , 16 ) return "" . join ( str )
随机生成16位字符串
        @return: 16位字符串
随机生成16位字符串