资源简介
xshell5中文绿色破解版,使用稳定,解压即用 !
代码片段和文件信息
def Main():
xsh.Session.Open(“C:\\...\\NetSarang\\Xshell\\Sessions\\New Session.xsh“)
xsh.Screen.Synchronous = True #True or False
xsh.Session.Sleep(1000)
#*** WaitForString ***
xsh.Screen.WaitForString(“aaa“) # input “aaa“ in Terminal
#*** Send ***
xsh.Screen.Send(“cat /etc/passwd“)
xsh.Screen.Send(‘\r‘)
xsh.Session.Sleep(1000)
#*** Get Clear ***
ScreenRow = xsh.Screen.CurrentRow - 1
ReadLine = xsh.Screen.Get(ScreenRow 1 ScreenRow 40)
Items = ReadLine.split(‘:‘);
xsh.Dialog.MsgBox(Items[2])
xsh.Screen.Clear()
#*** Property ***
xsh.Screen.Synchronous = False
MsgProp = “Col:“ + str(xsh.Screen.CurrentColumn) + “ “
MsgProp = MsgProp + “Row:“ + str(xsh.Screen.CurrentRow) + “ “
MsgProp = MsgProp + “TermCol:“ + str(xsh.Screen.Columns) + “ “
MsgProp = MsgProp + “TermRow:“ + str(xsh.Screen.Rows)
xsh.Dialog.MsgBox(MsgProp)
- 上一篇:奇模与偶模
- 下一篇:无线传感器网络仿真基于Omnet++
相关资源
- xshell6免安装的绿化版
- xshell+xftp完美绿色免安装破解版
- Xshell3b0281Windows平台下中文版SSH连接工
- Xshell3b0281.rar
- xshell最新版本
- Xshell6破解版(家庭版)
- Xshell6-破解版.7z
- xshell5 永久使用
- FileZilla&Xshell;.zip
- xftp6绿色版
- XSHELL6-教育版免费版
- xshell plus 6破解版
- xshell4免费版
- xshell最新版5.0.1339
- Xshell6绿色版包含Xftp
- xshell6.zip
- 永久授权xshell6官方原版
- Xshell_5.0.1325
- Xshell6&Xftp6;官网个人家庭免费授权版
- xshell6.0.0095p+xftp6.0.0089p个人学校版
- XShell5和XFtp5
- LinuxShell编程从初学到精通(第2版)
- 最新的xshell6与xftp.zip(持续更新!)
- xshell5+nssock2.dll
- Xshell个人免费版
- LinuxShell脚本攻略中文版+源码
- Xshell-xshell6
- Xshell5个人免费版
- xshell4和xftp4
- Xshell.zip
评论
共有 条评论