Python
Jerry1657
这个作者很懒,什么都没留下…
展开
-
pytest --html报错
ubuntu配置pytest pip3 install pytest pip3 install pytest-html 运行 pytest test.py --html=report.html 报错:没有--html选项 多次百度无果,重启电脑之后ok了...原创 2020-08-02 11:01:09 · 314 阅读 · 0 评论 -
pycharm创建文件时,自动添加注释头
打开:File-->Settings-->Editor-->File and Code Templates-->Python Script 输入以下内容: #!/usr/bin/env python # encoding: utf-8 ''' @author: xx @file: ${NAME}.py @time: ${DATE} ${TIME} @desc: '''原创 2020-07-28 10:56:09 · 130 阅读 · 0 评论