opening a pcap file in python
<p>I'm trying to open a .pcap file in python. can anyone help with this? each time I try this, it gives an error message that <code>"IOError: [Errno 2] No such file or directory: 'test.pcap'"</code></p>

<pre><code>import dpkt
f = open('test.pcap')
pcap = dpkt.pcap.Reader(f)
</code></pre>
