<br>
. I've been schooled with various versions of several languages,<br>
but I'm just now learning python:<br>
I've not yet personally experienced <span style="font-style: italic;">any </span>python debugger .<br>
<br>
. I understand the python`IDLE (integrated DeveL Envir)<br>
 comes with the std distro, and here is the part in the doc's <br>
that you might find encouraging:<br>
<br>
google( python idle debugger faq)<br>
[@] <a href="http://www.python.org/doc/faq/programming.html#is-there-a-source-code-level-debugger-with-breakpoints-single-stepping-etc">http://www.python.org/doc/faq/programming.html#is-there-a-source-code-level-debugger-with-breakpoints-single-stepping-etc
</a><br>
"(<br>
<br>
General Questions<br>
1.1.1   Is there a source code level debugger with breakpoints, single-stepping, etc.? Yes.<br>
<br>
The IDLE -- includes a graphical debugger. <br>
(see folder path: Tools/scripts/idle),<br>
 <br>
There is documentation for the IDLE debugger <br>
at <a href="http://www.python.org/idle/doc/idle2.html#Debugger">http://www.python.org/idle/doc/idle2.html#Debugger</a><br>
<br>
PythonWin <br>
includes a GUI debugger<br>
 based on pdb (python`s std command-line debug)<br>
. The Pythonwin debugger colors breakpoints <br>
and has quite a few cool features such as debugging non-Pythonwin
programs. A reference can be found at
<a href="http://www.python.org/windows/pythonwin/">http://www.python.org/windows/pythonwin/</a><br>
. Recent versions of PythonWin are available as a part of<br>
 the <br>
ActivePython distribution <br>
(see <a href="http://www.activestate.com/Products/ActivePython/index.html">http://www.activestate.com/Products/ActivePython/index.html</a>).<br>
)-<a href="http://python.org">python.org</a><br>
<br>
. another thing I plan to get into<br>
 since I'm interested in taming xp,<br>
is <br>
    iPython, [@] <a href="http://ipython.scipy.org/">http://ipython.scipy.org/</a><br>
<br>
. there are many reasons for this,<br>
but the one most relevant to your needs at the moment<br>
(avoiding mysterious error msg's)<br>
is this:<br>
"(<br>
# Automatic indentation of code as you type <br>
-- (merely having inconsistent spaces or a tab-space mixture can cause unexpected syntax msg's, I'm told)<br>
<br>
# Verbose and colored exception traceback printouts<br>
. Easier to parse visually, and in verbose mode they produce a lot of useful debugging information<br>
<br>
# Easy debugger access<br>
to rapidly isolate the source of a bug:<br>
<br>
. You can set IPython to call up the Python debugger (pdb) every time there is an uncaught exception<br>
. This drops you inside the code which triggered the exception <br>
with all the data live and it is possible to navigate the stack <br>
. The %run magic command -with the -d option- <br>
can run any script under pdb's control,<br>
 automatically setting initial breakpoints for you.<br>
<br>
[. other features that interest me include: ]<br>
<br>
# Offers a flexible framework inspired by the likes of Mathematica, IDL and Mathcad <br>
# Session logging (you can then later use these logs as code in your programs).<br>
# Session restoring: logs can be replayed to restore a previous session to the state where you left it.<br>
# Filesystem navigation, via a magic %cd command, <br>
along with a persistent bookmark system (using %bookmark) <br>
for fast access to frequently visited directories.<br>
# The ability to expand python variables when calling the system shell<br>
. In a shell command, any python variable prefixed with $ is expanded<br>
. A double $$ allows passing a literal $ to the shell (for access to shell and environment variables like $PATH).<br>
)-<a href="http://scipy.org">scipy.org</a><br>
<br>
<br><br><div><span class="gmail_quote">On 11/14/05, <b class="gmail_sendername">Ben Bush</b> <<a href="mailto:pythonnew@gmail.com">pythonnew@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q"><br><br>
<div><span class="gmail_quote">On 11/14/05, <b class="gmail_sendername">adDoc's networker Phil</b> <<a href="mailto:dr.addn@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dr.addn@gmail.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">. maybe you could separate your code into parts { python std, pythonwin-specific},<br>and then use a debugger to know most of the problem sources?
<br>(I'm not familiar with pythonwin, I assume it's a superset of python std) .<br><br>
<div>
<div><span><span class="gmail_quote">On 11/14/05, <b class="gmail_sendername">Ben Bush</b> <<a href="mailto:pythonnew@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
pythonnew@gmail.com </a>> wrote:</span></span></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span>
<div>When I run scripts in PythonWin,</div>
<div>sometimes will get the message of invalid syntax error.</div>
<div>How can I check which error I made?</div>
<div>For example, in VB, you might got the wrong place highlighted and help message too.</div><br></span></div></blockquote></div></blockquote></div>
<div>-- </div></span>
<div>which IDE do you use to run Python?<br>Thanks!<br>Ben Bush<br> </div>

</blockquote></div><br><br clear="all"><br>-- <br>American Dream Documents<br><a href="http://www.geocities.com/amerdreamdocs/home/">http://www.geocities.com/amerdreamdocs/home/</a><br>"(real opportunity starts with real documentation)