【发布时间】:2010-09-19 18:58:25
【问题描述】:
当使用python manage.py shell 启动一个 django 应用程序时,我得到一个 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 应用的情况下启动一个交互式控制台?
【问题讨论】:
-
当你输入python时,你会得到一个>>>提示,对吧?这就是交互式外壳。你有什么问题?
-
它不提供制表符补全。这就是问题所在。
-
请更新您的问题以指定。
标签: python shell interpreter