复制代码def gennerate_uuid(rootname, lineno): name = rootname + str(lineno) return uuid.uuid3(uuid.NAMESPACE_DNS, name).hex