Lines Matching refs:input_file
33 def read_json_file(input_file): argument
34 if not os.path.exists(input_file):
35 print("file '{}' doesn't exist.".format(input_file))
40 with open(input_file, 'r') as input_f:
43 print("The file '{}' format is incorrect.".format(input_file))
46 print("read file '{}' failed.".format(input_file))
52 def read_file(input_file): argument
53 if not os.path.exists(input_file):
54 print("file '{}' doesn't exist.".format(input_file))
59 with open(input_file, 'r') as file_obj:
63 print("read file '{}' failed".format(input_file))