Skip to content

Instantly share code, notes, and snippets.

@mredar
Last active July 14, 2017 16:39
Show Gist options
  • Save mredar/8dba6c79314946fe5c1fcc31841d82fe to your computer and use it in GitHub Desktop.
Save mredar/8dba6c79314946fe5c1fcc31841d82fe to your computer and use it in GitHub Desktop.
import readline
readline.write_history_file('my_history.py')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment