Ok so I'm trying to write a little python program that simply monitors the total bandwidth usage of a computer, and have no idea how to do this. So if someone can just point me into the general direction of how to do something like this it would be great (what modules, functions?)


(and yes, I did search for answers first... allot of searching...
Surprisingly I found extremely little information on this, I thought more people would want to write programs like this, guess not :/ )

[update]
Ok I figured than I can use Winpcap along with Pcapy, but isn't there a more direct way of just getting the total ammount of traffic instead of capturing the packets and using that to determine the total traffic usage?