SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. content = [
  2.     ["Backbone Gateway", "R77.30", "172.30.11.3"],
  3.     ["Perimeter GW", "R80.10", "192.30.11.3"]
  4. ]
  5.  
  6. header = ["Gateway Name", "Version", "IP Address"]
  7.  
  8. print(tabulate(content, headers=header, tablefmt='orgtbl'))
  9.  
  10. # output
  11. | Gateway Name     | Version   | IP Address   |
  12. |------------------+-----------+--------------|
  13. | Backbone Gateway | R77.30    | 172.30.11.3  |
  14. | Perimeter GW     | R80.10    | 192.30.11.3  |
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top