def get_history_items():
    return [
        readline.get_history_item(i)
        for i in xrange(1, readline.get_current_history_length() + 1)
    ]
Get all history item
dataset/ETHPy150Open DTVD/rainbowstream/rainbowstream/interactive.py/get_history_items