Created
January 13, 2017 15:48
-
-
Save jtbg/01b31bf21b7384fa6bc1ab90ec9819e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
arp_output = subprocess.Popen(('arp', '-a'), stdout=subprocess.PIPE) | |
ipout = arp_output.communicate()[0] | |
print ipout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment