Created
May 7, 2021 13:46
-
-
Save JayantGoel001/ef2130bbe53402b5de390cd6c1d3d636 to your computer and use it in GitHub Desktop.
Check Internet Speed using Python and speedtest-cli
This file contains hidden or 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
from speedtest import Speedtest | |
st = Speedtest() | |
download = st.download() | |
upload = st.upload() | |
print("Download Speed is", download) | |
print("Upload Speed is", upload) | |
st.get_servers([]) | |
ping = st.results.ping | |
print("Ping : ", ping) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment