in senpai.py [0:0]
def write(self, filename, string): with open(os.path.join(self.path, filename), 'w') as f: f.write(string)