Skip to content

Instantly share code, notes, and snippets.

@nickpegg
Created February 15, 2014 14:28
Show Gist options
  • Save nickpegg/9019954 to your computer and use it in GitHub Desktop.
Save nickpegg/9019954 to your computer and use it in GitHub Desktop.
This. Is. Awesome.
from sh import mtr
i = mtr("google.com", _iter=True)
for x in i:
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment