def saveInput(self):
    os.chdir(settings.value('CurrentPath'))
    with open(self.inputName, 'w') as fp:
        fp.write(self.input)
def saveInput(self):
    os.chdir(settings.value('CurrentPath'))
    with open(self.inputName, 'w') as fp:
        fp.write(self.input)