[Tutor] running & debugging in python interactive shell
Che M
pine508 at hotmail.com
Thu Jan 15 03:18:30 CET 2009
> Date: Wed, 14 Jan 2009 16:44:11 -0800
> From: artie.ziff at gmail.com
> To: tutor at python.org
> Subject: [Tutor] running & debugging in python interactive shell
>
> Greetings.
>
> I am attempting to search archives, however I thought it would be OK to
> ask while I search... thank you to those who responded to my previous
> inquiry. Your response was very helpful to me.
>
> My environment is embedded so I have only a python interactive shell for
> running python scripts. Does anyone know of an article that describes
> best practices for running and debugging scripts inside the python
> shell? Of course, I use import directive to run my script for first run.
> I am seeking techniques for invoking parts of script after initial
> import. I hope this makes sense to those persons reading. :)
>
> Cheers,
> AZ
I'd like to add to this question and expand it: can anyone point me to
a good resource on debugging *generally*? Particularly using a debugger.
I have never learned any "right" way to debug my code, just sort of read
off the errors generated and do what I can. I use Boa Constructor, which
has a built-in debugger, but I don't quite grok how best to use it (some of
that is lack of practice, some is lack of understanding), though I get the
sense that they are more-or-less the same across IDEs.
I thought maybe there is an existing tutorial somewhere on how best to
make use of a debugger.
Thanks,
Che
_________________________________________________________________
Windows Liveā¢: Keep your life in sync.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090114/08e9986a/attachment.htm>
More information about the Tutor
mailing list