Last active
July 14, 2017 16:39
-
-
Save mredar/8dba6c79314946fe5c1fcc31841d82fe to your computer and use it in GitHub Desktop.
Save interactive python session -- http://rufuspollock.com/2007/04/06/dump-python-interactive-session-to-a-file/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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