代码优化:win-pycharm打开report.py 里有报警
Valuebai opened this issue · comments
报警的代码:from excel import Excel
需要改为:from mobileperf.android.excel import Excel
否则在win-pycharm会提醒报警,因为python中有excel命名的包,会导致先找系统中的excel包里的Excel,然后没找到
# encoding: utf-8
'''
@author: look
@copyright: 1999-2020 Alibaba.com. All rights reserved.
@license: Apache Software License 2.0
@contact: 390125133@qq.com
'''
import os
from datetime import datetime
from excel import Excel
from mobileperf.common.log import logger
from mobileperf.common.utils import
多谢反馈,已提交