spyder调试传入参数
作者:互联网
参考:https://blog.csdn.net/w892824196/article/details/81134393
两个参数菜单设置:
# 设置参数
ap = argparse.ArgumentParser()
ap.add_argument("-i", "--image", required=True,help="path to input image")
ap.add_argument("-t", "--template", required=True,help="path to template OCR-A image")
args = vars(ap.parse_args())
标签:help,传入,image,argument,ap,add,path,spyder,调试 来源: https://blog.csdn.net/xiaoxie_qingfa/article/details/123166343