python语法join函数

Python语法中join() 方法用于将序列中的元素以指定的字符连接生成一个新的字符串。

vid = int(open(os.path.join(dn, "idVendor")).read().strip(), 16)
原文地址:https://www.cnblogs.com/429512065qhq/p/8822149.html