14
AttributeError: у объекта 'module' нет атрибута
У меня есть два модуля Python: a.py import b def hello(): print "hello" print "a.py" print hello() print b.hi() b.py import a def hi(): print "hi" Когда я бегу a.py, я получаю: AttributeError: 'module' object has no attribute 'hi' Что означает ошибка? Как мне это исправить?
194
python
attributeerror