tab completion for python interactive shell

Выполнить в консоли:

cat > ~/.pyrc << EOF    
import rlcompleter    
import readline    
readline.parse_and_bind("tab: complete")    
EOF    
echo 'export PYTHONSTARTUP=~/.pyrc' >> ~/.bashrc

Notes