On Sat, Nov 1, 2008 at 11:21 AM, Jennifer Miller <[EMAIL PROTECTED]>wrote:
> Hello, > > I would like to step through with debugging in PythonWin, I have added > this toolbar, but I cannot click on it as an option. Also, when I > click run, to define the arguments, do I enter them in the format > name, name? Also, when I try to run my code, I get a message at the > bottom of the screen that says, Failed to run script - syntax error - > expected an indented block. I am not sure where I am going wrong here > - maybe if I could do the debugging, that would help. It helps to post the exact error message. For instance: File "<stdin>", line 2 print x ^ IndentationError: expected an indented block came from this entered into the interactive interpreter: >>> for x in xrange(1,10): ... print x Because after a for statement, it expects an indentation. It's considered standard to indent with four spaces. My guess is there's something in your code that caused such an error. The more information you give us, the better we are able to help you. HTH, Wayne
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor