Linux系统当你在shell(控制台)中输入并执行命令时,shell会自动把你的命令记录到历史列表中,一般保存在用户目录下的.bash_history文件中.默认保存1000条,你也可以更改这个值 History命令主要用于显示历史指令记录内容, 下达历史纪录中的指令 .1>History命令语法: [test@linux]# history [n][test@linux]# history [-c][test@linux]# history [-raw] histfiles参数:n :数…
一:报错:TypeError: list indices must be integers, not dict for i in range(0,len(test_data)): suite.addTest(TestCaselogin("test_api",test_data[i][*arg])) 解决方法:是参数表示不正确的原因:test_data[i][*arg] 应该表示为item[*arg] 二:报错:'int' object is not iterable for i i…