This code uses the speedtest library to run a speedtest and get the current download and upload speeds. It then uses Tkinter to create a simple GUI with two labels that display the current speeds. The get_speed() function is scheduled to run every 5 seconds using the after() method, so the speeds will be updated in real time.
- Python 3.12
- speedtest-cli
- tkinter
- Include Ping/Latency Information
- Include Server Information
- Include where user can select what SI unit of the speed test
Please also note that the speedtest library uses the Speedtest.net service, which relies on a stable internet connection. If the connection is unstable, the program may not work as expected.