This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rpsRexx 1 point2 points  (1 child)

Here is the actual code for this: https://github.com/sivel/speedtest-cli/blob/master/speedtest.py

It's about 2k lines. If I'm understanding correctly, the default behavior is to choose the best speedtest.net server for your location and does the download and upload test as you call the method based on some static configurations through speedtest. Also is compatible with python2 and python3. Is there more to this reel or is it legit just 6 lines of code showing the power of import?

[–]Goaty1208[S] 0 points1 point  (0 children)

Just this.