[BangPypers] TypeError: problem (was: Python coaching classes)
Senthil Kumaran
orsenthil at gmail.com
Thu Oct 14 07:32:17 CEST 2010
On Thu, Oct 14, 2010 at 01:04:49AM -0400, mukkera harsha wrote:
>
> http://dpaste.com/257629/
>
> I pasted the code as you said. Please follow the link.
This may hardly help. Here are the suggestions for you to debug your
code. TypeError is rather the easiest of Exceptions to debug.
- From the traceback, find out where exactly does the TypeError
occurs. The traceback would give the exact line and the variable
name.
- Go there and do a print(type(variable)) and see if the code was
expecting the same
And then you should be able to correct the problem.
--
Senthil
I hate dying.
-- Dave Johnson
More information about the BangPypers
mailing list