from pathlib import Path if Path('filename.txt').is_file(): print ("File exist") else: print ("File not exist")
確定! 回上一頁