mydata = pkt[okt.highest_layer].data mydata.decode("hex") 转载于:https://www.cnblogs.com/earendil/p/7419426.html