python shell: add tab completion