Lines Matching full:file
20 self.file = None
24 self.logger.info(f'Creating fifo file: {self.filename}')
29 self.logger.error(f'Did not able create fifo file: {self.filename}')
31 self.file = open(self.filename, self.mode, buffering=0)
32 self.logger.info(f'File created: {self.filename}')
39 if self.file:
40 self.file.write(data)
43 if self.file:
44 return self.file.readline()
47 if self.file:
48 self.file.close()
50 self.logger.info(f'Closed file: {self.filename}')
63 parser.add_argument('file')
65 read_path = args.file + '.in'
66 write_path = args.file + '.out'