Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import speedtest as st
- server = st.Speedtest()
- server.get_best_server
- # Test de Descarga
- descarga = server.download()
- descarga = descarga / 1000000
- print(f"Velocidad de Descarga: {descarga} MB/s ")
- # Test de Subida
- subida = server.upload()
- subida = subida / 1000000
- print(f"Velocidad de Subida: {subida} MB/s")
- # Test Ping
- ping = server.results.ping
- print(f"Velocidad de Ping: {ping}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement