如果您只是想尝试 - 除非不处理异常,您如何在Python中执行此操作?
以下是正确的方法吗?
try: shutil.rmtree(path) except: pass
python exception try-except
exception ×1
python ×1
try-except ×1