def save_history():
 try:
  readline.write_history_file(c['HISTORY_FILENAME'])
 except:
  pass

def save_history ( ) : try : readline . write_history_file ( c [ 'HISTORY_FILENAME' ] ) except : pass
save history to file .