python - TypeError: 'str' object is not callable error -
python - TypeError: 'str' object is not callable error -
i'm getting error , don't understand why! ideas anyone?
typeerror: 'str' object not callable
here code.
import math lib import * test import * hostcal = (int((200 * 0.7) / 10))
basically requirement want convert float value integer. when execute .py file works fine when imported .py file robot getting above error.
either lib
module or test
module contains binding of name int
string value.
(moral of story: avoid from <module> import *
!)
python robot
Comments
Post a Comment