What is the problem with my code that doesn’t work correctly?
I’m trying to write a average program but there is a problem when I want to see the result.
Keep a running average of upload/download speeds in python
I’m currently trying to adapt a script that shows network stats like upload and download speeds for each process we can detect using a network; the original script is described here (https://thepythoncode.com/article/make-a-network-usage-monitor-in-python),
and my version is as follows: