python 判断目录和文件是否存在,若不存在即创建

NoSuchKey