How do I add tab completion to the Python shell?

后端 未结 9 851
甜味超标
甜味超标 2020-11-30 16:41

When starting a django application using python manage.py shell, I get an InteractiveConsole shell - I can use tab completion, etc.

Python 2.5.1         


        
9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 17:20

    Fix for Windows 10 shell:

    • pip install pyreadline
    • pip install ipython [shell]

提交回复
热议问题