使用 启动 django 应用程序时python manage.py shell
,我得到一个 InteractiveConsole shell - 我可以使用制表符完成等。
Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
刚使用 启动 python 解释器python
时,它不提供制表符补全。
有人可以告诉我 django 正在做什么来给我一个交互式控制台,或者我需要做什么才能在没有 django 应用程序的情况下启动一个交互式控制台?