Append a value to the public input file.
(self, x)
| 665 | for x, y in self.free_mem_blocks.items())) |
| 666 | |
| 667 | def public_input(self, x): |
| 668 | """Append a value to the public input file.""" |
| 669 | if self.public_input_file is None: |
| 670 | self.public_input_file = open( |
| 671 | self.programs_dir + "/Public-Input/%s" % self.name, "w" |
| 672 | ) |
| 673 | self.public_input_file.write("%s\n" % str(x)) |
| 674 | |
| 675 | def get_binary_input_file(self, player): |
| 676 | key = player, 'bin' |
no test coverage detected