Make it more Pythonic

Hello,

Thanks for your work, with it I'll be able to graph the speed of my network connection during a long period and report it to my ISP!

Because I think this project is worth to be extended I worked hard to clean it helped with my Python skills.

You can accept or reject this request, however I cannot guarantee it works exactly as yours because there are no unit-tests ... Only manually called the program w/o any arguments.

... Give it a try!

Have a nice week-end.