Using jupyter notebook as interactive python shell

Posted by Taolee on October 20, 2017

install

pip install jupyter

usage

jupyter notebook

this will will invoke a browser tab, you can use the browser to behave like an interactive python shell

shortcut

  • shift-tab-tab ,show the document of the current cursor’s function
  • shift-enter , execute the current cell’s python script
  • enter, just add a new line in current cell
  • tab, will try the best to do a auto-completion