~/.bashrc
export PYTHONSTARTUP=$HOME/.pythonstartup
$HOME/.pythonstartup
import rlcompleter import readline readline.parse_and_bind("tab: complete")
PYTHONSTARTUP
$ man python