First, check if the file or folder exists and then delete it. You can achieve this in two ways: os.path.isfile("/path/to/file") ...
確定! 回上一頁