<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>> Date: Wed, 14 Jan 2009 16:44:11 -0800<br>> From: artie.ziff@gmail.com<br>> To: tutor@python.org<br>> Subject: [Tutor] running & debugging in python interactive shell<br>> <br>> Greetings.<br>> <br>> I am attempting to search archives, however I thought it would be OK to<br>> ask while I search... thank you to those who responded to my previous<br>> inquiry. Your response was very helpful to me.<br>> <br>> My environment is embedded so I have only a python interactive shell for<br>> running python scripts. Does anyone know of an article that describes<br>> best practices for running and debugging scripts inside the python<br>> shell? Of course, I use import directive to run my script for first run.<br>> I am seeking techniques for invoking parts of script after initial<br>> import. I hope this makes sense to those persons reading. :)<br>> <br>> Cheers,<br>> AZ<br><br>I'd like to add to this question and expand it: can anyone point me to<br>a good resource on debugging *generally*? 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. 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>