Commit e2d22008 by xiaoqi

脚本

parent c3c8998c
Showing with 1 additions and 0 deletions
......@@ -314,6 +314,7 @@ def convert_to_grayscale(input_folder, output_folder):
def check_file_or_dir(userinput,output_file_path: str = None, output_name: str = None):
print(f"入参:userinput={userinput} output_file_path={output_file_path} output_name={output_name}")
# 检查路径是否存在
if not os.path.exists(userinput):
print(f"路径不存在:{userinput}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment