def show_run():
 try:
  ret = sendline('show run')
 except TerminalException as e:
  log.error(e)
  return 'Failed to "show run"'
 return ret

def show_run ( ) : try : ret = sendline ( 'show run' ) except TerminalException as e : log . error ( e ) return 'Failed to "show run"' return ret
shortcut to run show run on switch .