I’m displaying several info from a PC in a 16×2 LCD Screen. I use a tiny python program that retrieves and parse data (disk space, temperatures, etc) and send to LCD by serial.
I want to show the actual download/upload speed, but I can’t find any cmd script or something like that to use. Any suggestions?
You need to query WMI to get this information. The easiest way to do it from Python is to simply execute this VB Script (it worked for me):
adapted from http://www.itworld.com/nlswindows070320?page=0,1
Copy and paste the VB code into a file called bandwidth.vbs and run like this from cmd: