Linux My Friend
Linux is my hobby and my profession
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
nayanajith m laxaman
Post a Comment
Post Comments (Atom)