tags:

views:

99

answers:

2

Hi all, How would i go about writing a python script that shows how much internet traffic there is ? Like showing bandwith usage?

Thanks!

A: 

Firstly, it depends on which version of Python you are currently using. If your using v2.6.5, you might want to check here.

Galilsnap
A: 

What you want technically isn't a problem of the language you're using - how much data is being transferred on your network interfaces is something you need to get from your operating system or network device driver. The way that you acquire these statistics will vary based on the OS, so that's what you need to nail down first.

Nick Bastin
Hmm.. I am using windows 7..
Jake