Posts by Fabio Aleluia • 1 point
1 post
-
0
votes1
answer220
viewsQ: Select column item in Python
I was able to filter the items I want, but they are in a kind of column. I did it that way: import os cmd = os.popen('arping -I enp1s0 -c 2 192.168.0.1') arr = cmd.read().split('\n') for line in…