初次提交

This commit is contained in:
2022-04-15 12:26:43 +08:00
commit 09b2956573
30 changed files with 952 additions and 0 deletions

6
util/file.py Normal file
View File

@ -0,0 +1,6 @@
import os
def check_file_exist(file):
if not os.path.isfile(file):
raise FileNotFoundError("文件不存在:%s" % file)