Last active
January 5, 2021 18:15
-
-
Save martingaido/00cda43d8985669c096a97d4a17fefa8 to your computer and use it in GitHub Desktop.
Test Internet Connection Speed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install speedtest-cli | |
import speedtest | |
test = speedtest.Speedtest() | |
down = test.download() | |
upload = test.upload() | |
print(f"Download Speed: {down}") | |
print(f"Upload Speed: {upload}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment