AttributeError: 'module' object has no attribute
154
33
I have two python modules: a.py import b def hello(): print "hello" print "a.py" print hello() print b.hi() b.py import a def hi(): print "hi" When I run a.py , I get: AttributeError: 'module' object has no attribute 'hi' What does the error mean? How do I fix it?
python attributeerror
share | improve this question
edited Dec 7 '13 at 22:05
Eric Leschinski
89.7k 40 330 281
asked Aug 8 '09 at 23:12
...