def _validate_file(self, src_file): """ Checks the provided files exist. Exits if theres an issue """ if not os.path.exists(src_file): utilities.flush_print("Train:ERROR Invalid File: " + \ src_file + "\n") sys.exit()
def _print(self, item): if self.verbose: utilities.flush_print(item)