我想在Python中打开一个.pcap文件,有人可以帮忙吗?每次尝试时,都会出现错误消息:
"IOError: [Errno 2] No such file or directory: 'test.pcap'"
。import dpkt
f = open('test.pcap')
pcap = dpkt.pcap.Reader(f)
test.pcap
文件。 - SilentGhost