title: How to monitor the network traffic of a Python-based package by incorporating WireShark?
body: <p>I am trying to find ways to monitor the network traffic of a Python-based package. One suggested approach is by incorporating WireShark to the package. I have never done anything like this before, and could not find any tutorials on the Internet regarding this. And, whatever I could gather, it seems to be suggested using PyShark as wrapper to perform the task. Could someone please offer me some guidance such as code snippets or pointers on how I could tackle the task? Any help would be much appreciated. </p>