Bash-style history for Python interactive interpreter
Project description
# Histopy
BASH-style history for the Python3 interactive interpreter.
Daniel W. Paley, 2018. Contact: dwpaley@gmail.com Github: https://github.com/dwpaley/histopy
Quickstart: ` >>> import histopy as hp >>> hp.history_full() # like $ history >>> hp.history() # history of current session >>> hp.recall(n) # like $ !n >>> hp.find('foo') # print lines matching 'foo' `
Known issues: * recall_range(n1, n2) doesn’t attempt to handle any exceptions. Would be nice to prompt e.g. “recall_range stopped with exception … on line … Continue on line …?”
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
histopy-0.6.2.tar.gz
(3.2 kB
view hashes)