Lines Matching refs:input_file
34 def read_json_file(input_file): argument
35 if not os.path.exists(input_file):
36 print("file '{}' doesn't exist.".format(input_file))
41 with open(input_file, 'r') as input_f:
44 print("The file '{}' format is incorrect.".format(input_file))
47 print("read file '{}' failed.".format(input_file))
53 def read_file(input_file): argument
54 if not os.path.exists(input_file):
55 print("file '{}' doesn't exist.".format(input_file))
60 with open(input_file, 'r') as file_obj:
64 print("read file '{}' failed".format(input_file))