摘要:
在命令行执行:pytest xx.py ,提示找不到另一个文件yy里的包 解决办法:在xx.py导包前加上以下两句: import sys from os.path import dirname sys.path.append(dirname(dirname(__file__))) 阅读全文
posted @ 2021-04-16 17:08
_titleInfo
阅读(379)
评论(0)
推荐(0)
浙公网安备 33010602011771号