import os filename = "creating file with python function"#your file name print("Is",filename,"a file",os.path.isfile(file_oprator))