Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. import subprocess
  2.  
  3. webhook = 'testing1-api'
  4.  
  5. def knife_lookup(node_search):
  6. return subprocess.call(['knife search node %s' % node_search], shell=True)
  7.  
  8.  
  9. knife_lookup(webhook)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement