摘要: 兼容python3的 报告源码 """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simple 阅读全文
posted @ 2018-07-23 20:55 凯宾斯基 阅读(414) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-07-23 20:30 凯宾斯基 阅读(404) 评论(0) 推荐(0)
摘要: 获取当前路径的方法 import os print os.getcwd() 可以获取当前文件所在的目录路径 #获取当前目录的上一级目录 parent_path = os.path.dirname(parent_path) ##获得parent_path所在的目录的上一级目录 os.path.absp 阅读全文
posted @ 2018-07-23 20:10 凯宾斯基 阅读(1923) 评论(0) 推荐(1)