检查条件,如果不满足,则提示。
assert os.path.isdir(my_Path), 'dir path error'
refer python 异常: 8. Errors and Exceptionshttps://docs.python.org/3/tutorial/errors.html
. . . . . . . . .
检查条件,如果不满足,则提示。
assert os.path.isdir(my_Path), 'dir path error'
refer python 异常: 8. Errors and Exceptionshttps://docs.python.org/3/tutorial/errors.html
. . . . . . . . .