how can i check the data transfer on a network interface in python?,time.sleep(5)