View Single Post
  #1  
Old 07-16-2018, 08:48 AM
cguillaume cguillaume is offline
Registered User
 
Join Date: Jul 2018
Posts: 3
[Python] Renam tab in a script

Hello,

is it possible to rename a tab inside a script ?
I created a script which open many tab (on for each of my switches) by taking an input file containing a list of IP addresses.

Code:
cmd = "/SSH2 /L %s /PASSWORD %s /C AES-128-CTR,AES-128 /M SHA1 %s" % (user, passwd, ip_address)
		crt.Session.ConnectInTab(cmd)
each tab has the ip_addr as name. Is it possible to modify it in the script ?

best regards
Reply With Quote