[Tutor] Callable? Whats callable?
epoch7
epoch7@charter.net
Sun, 26 Aug 2001 11:40:34 -0400
> :Traceback (most recent call last):
> : File "F:\Python21\reusage.py", line 10, in ?
> : y = """%s""" (x)
> :TypeError: object of type 'string' is not callable
> :
>
> try changing this line:
> y = """%s""" (x)
>
> to this:
> y = """%s""" % x
>
>
> At least the program runs now. I don't know if it does what you want,
> but it won't give that error any more...
True enough, now i try to call it(CALLable, i was thinking of it like
CALable, must have shorted out a braincell)
and i get no list, and i tried to print y and it locked up python.