Essential tools for Python development

Jeremiah Dodds jeremiah.dodds at gmail.com
Wed Apr 22 04:22:38 EDT 2009


On Wed, Apr 22, 2009 at 3:50 AM, Esmail <ebonak at hotmail.com> wrote:

> Great list Ben, I use emacs and will check out the tools
> you listed.
>
> What techniques/tools do you recommend for debugging?
>
> Esmail
> --
> http://mail.python.org/mailman/listinfo/python-list
>

pdb is good if you need to do step-through debugging.

What I normally do in emacs is the following (while working on python
script, and with the python-mode that comes with emacs22):

C-x 3      #splits the screen into two vertical columns
C-c C-c   #fires up python and sends the current buffer to it
C-x o      #switches to the other column
C-x b Py #switches to the python interactive buffer

This is, I do believe, equivalent to running a script with python -i
script.py . Drops you into an interactive session where you can interact
with what you just wrote. Another very handy tool is etags, see the help in
emacs (You can get to it through C-h i m emacs)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090422/3acb1f5b/attachment.html>


More information about the Python-list mailing list