code: def write(self):
          '''write status to status.txt'''
          f = open('status.txt', mode='w')
          self.show(f)
          f.close(f write(self):
          '''write status to status.txt'''
          f = open('status.txt', mode='w')
          self.show(f)
          f.close()
docs: write status to status.txt