python
yueqiulijun
这个作者很懒,什么都没留下…
展开
-
本文件中的指定字符串在另外一个文件中是否存在
第一个文件 new_1 内容如下 <Test result="pass" name="testHeif" /> <Test result="pass" name="testMetadataRoundDown" /> <Test result="pass" name="testManualAutoSwitch" /> ...原创 2020-03-26 10:03:32 · 371 阅读 · 0 评论 -
UnicodeDecodeError: 'utf-8' codec can't decode byte : invalid continuation byte
今天使用python3.8进行自动化测试时,总是报以下问题, 之前用 python3.7 python3.6 是没有问题的,或者之前那些测试都不满足出错的条件? os.system('adb shell "logcat -b all -d " > ' + dir + '\logcat.log') filepath = dir + "\logcat.log" #print ("...原创 2020-03-10 13:58:38 · 1669 阅读 · 1 评论