Is there something like Lisp SLIME for Python / Django?

I know about the Django console and is useful to some extent, but it would be nice to be able to edit code with the open console, lime SLIME in Emacs. Is there something that makes this easier for Django or, if not, at least Python?

+4
source share
3 answers

I don't know if this is exactly what you are looking for, but Workzeug provides an interactive debugging tool that you can use in this way. Just do assert False , and you can use the CLI as shown in this screencast: http://ericholscher.com/blog/2008/sep/12/screencast-django-command-extensions/

+2
source
+2
source

Launch

 django-admin.py shell 

in your project should give you what you want. If you have IPython installed, you will also get all the useful highlighting and completion functions that it offers.

+1
source

Source: https://habr.com/ru/post/1338004/


All Articles