Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53036
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: TypeError: 'int' object is not callable |
| Date | 2013-08-27 04:12 -0400 |
| References | <f4dd4f8e-a694-4a86-b2ff-1d91a9b37792@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.258.1377591174.19984.python-list@python.org> (permalink) |
On 8/26/2013 10:45 PM, autobotprime.17@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
TypeError: 'int' object is not callable autobotprime.17@gmail.com - 2013-08-26 19:45 -0700 Re: TypeError: 'int' object is not callable Krishnan Shankar <i.am.songoku@gmail.com> - 2013-08-27 08:53 +0530 Re: TypeError: 'int' object is not callable Terry Reedy <tjreedy@udel.edu> - 2013-08-27 04:12 -0400
csiph-web