On Mon, Jun 1, 2009 at 3:40 AM, Visco Shaun <visc...@gmail.com> wrote: > when I was executing the below code I got "TypeError: 'int' object is > not callable" exception. Why is it so? > > if type(c) == type(ERROR): > > c can be a string or an integer representing an error
Please also, now and in the future, provide the full error traceback as it is very necessary in order to determine the problem. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list