Code /

Django

Reading

Cycling

Backpacking

X-Wing

Infinity

Warhammer 40k

Boardgames

Hobby

LEGO

Matchbox

Food

Code



Nook

sidebar

Django

Django

History

History for shell-plus, same as python:

  • Python 2
    import readline
    for i in range(readline.get_current_history_length()):
        print readline.get_history_item(i + 1)
    
  • Python 3
    import readline
    for i in range(readline.get_current_history_length()):
        print (readline.get_history_item(i + 1))
    
Recent Changes (All) | Edit SideBar Page last modified on October 03, 2019, at 07:23 PM Edit Page | Page History
Powered by PmWiki