<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>&gt; Date: Wed, 14 Jan 2009 16:44:11 -0800<br>&gt; From: artie.ziff@gmail.com<br>&gt; To: tutor@python.org<br>&gt; Subject: [Tutor] running &amp; debugging in python interactive shell<br>&gt; <br>&gt; Greetings.<br>&gt; <br>&gt; I am attempting to search archives, however I thought it would be OK to<br>&gt; ask while I search... thank you to those who responded to my previous<br>&gt; inquiry. Your response was very helpful to me.<br>&gt; <br>&gt; My environment is embedded so I have only a python interactive shell for<br>&gt; running python scripts. Does anyone know of an article that describes<br>&gt; best practices for running and debugging scripts inside the python<br>&gt; shell? Of course, I use import directive to run my script for first run.<br>&gt;  I am seeking techniques for invoking parts of script after initial<br>&gt; import. I hope this makes sense to those persons reading. :)<br>&gt; <br>&gt; Cheers,<br>&gt; AZ<br><br>I'd like to add to this question and expand it:&nbsp; can anyone point me to<br>a good resource on debugging *generally*?&nbsp; Particularly using a debugger.<br>I have never learned any "right" way to debug my code, just sort of read <br>off the errors generated and do what I can.&nbsp; I use Boa Constructor, which <br>has a built-in debugger, but I don't quite grok how best to use it (some of<br>that is lack of practice, some is lack of understanding), though I get the <br>sense that they are more-or-less the same across IDEs.<br><br>I thought maybe there is an existing tutorial somewhere on how best to<br>make use of a debugger.<br><br>Thanks,<br>Che<br><br><br><br /><hr />Windows Live™: Keep your life in sync.  <a href='http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009' target='_new'>See how it works.</a></body>
</html>