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

443 Views Asked by At

I know about 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?

3

There are 3 best solutions below

0
On BEST ANSWER

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/

1
On

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
On