I am creating a method in a class in a module mod1 and calling it as follows:
class blahblah:
def foobar(self, bvar, **dvar)
////
return dvar
And calling it as:
obj1 = mod1.blahblah()
dvar1 = obj1.foobar(True, **somedictionary)
It throws a Attribute error: blahblah has no attribute named foobar
Could you please help me with it? Thanks in advance
from mod1 import blahblah
from blah blah import foobar
obj1 = foobar()
Thanks for your support all – nerdy_darkknight Oct 26 '12 at 23:23