If path does not exist, it returns False. So, pathlib.Path can be a better way of checking if a file exists or not. The following example shows how: ...
確定! 回上一頁