Python doesn't see new methods in the module -


i'm stuck python learning. developing application consist of few modules , had no issues. after few days of break returned new method add app no longer visible, here error: (attributeerror: hand instance has no attribute 'calculate')

this not true of course hand object has new method , can prove doing in console (it works) when in app files not picked compiler.

what problem ?


ok snippet causing issues:

class atrifacts:

...      def calculate(self):     in range(len(self.cards)):         self.value += hand.cards[i].getrankindex()     return self.value 

when try use have error mentioned above missing attribute

i assume console , app use different pythonpathes , loads different module files.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -