Tuesday, August 28, 2007

Interactive python shell

  • Crate an ~/.inputrc file and set editing-mode vi set horizontal-scroll-mode on.
  • Create PYTHONSTARTUP file called ~/.pythonstartup and export the path to that file in ~/.barshrc : PYTHONSTARTUP=/home/nayanajith/.pythonstartup.
  • Give pth from /. then the python shell work in vi line eddting mode when pressing Esc key.
  • Olso it gives the auto completion facility with the tab key
  • 1 comment:

    1. .That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.

      python training in bangalore|