开发者

Is there anything like Lisp's SLIME for Python/Django?

开发者 https://www.devze.com 2023-02-08 12:52 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消