TypeError: 'int' object is not callable
Terry Reedy
tjreedy at udel.edu
Tue Aug 27 04:12:41 EDT 2013
On 8/26/2013 10:45 PM, autobotprime.17 at gmail.com wrote:
> dear friends when i try to execute following lines
>
> import time
> a = time.daylight()
> print(a)
>
>
> result is
You left out the traceback that shows which line had the error. In this
case, Krishnan could tell, but in other code snippets people post, it is
not always so obvious. Post the whole trackeback with errors. It is
printed for a reason ;-)
> TypeError: 'int' object is not callable
>
>
> why is this error and how can i solve this problem?
>
--
Terry Jan Reedy
More information about the Python-list
mailing list