a.py 168 B

1234567
  1. import os
  2. routes = os.popen('route print').readlines()
  3. for a in routes:
  4. print(a)
  5. #print([a for a in os.popen('route print').readlines() if ' 0.0.0.0 ' in a])