Why is 'module' object not callable? [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: TypeError: ‘module’ object is not callable This is my very first Python attempt, just trying to regain basic programming knowledge after a 10 year silence in a, for me, new language, Python. The basic idea is a tiny battly engine which decides the better hit. The bugging code is next. self.__power = self.__att*random(2,4)/dier.__defn As my python knowledge is extremely basic, I'm rather scared of saying the