Is there anything like Lisp's SLIME for Python/Django?
I know about 开发者_JAVA百科the Django console and it's useful to an extent but it would be really nice to be able to edit your code with the console open, lime SLIME in Emacs. Is there anything that facilitates this for Django or, failing that, at least Python?
I do not know if this is exactly what you are looking for, but Workzeug provides a interactive debugging tool, which can be used like that. Just do a assert False
and you can use the CLI as demonstrated in this screencast: http://ericholscher.com/blog/2008/sep/12/screencast-django-command-extensions/
IDLE
Running
django-admin.py shell
in your project should give you what you want. If you have IPython installed, you also get all of the fancy highlighting and completion features it offers too.
精彩评论