It iterates by way of each line with the output of the following command: netstat -aon There's nothing pythonic about subclassing your own personal lists Because you a necessity a nice get process. Readability counts. And readability suffers with each added unnecessary class. Just use the consider / other than https://helpmehigh.com/