Attributeerror

init_self init_self at yahoo.no
Fri Sep 17 10:27:30 EDT 2004


extreme newbie question:

I have a filename.py file with an attribute named a.
I`s a dictionary example, and when I start the interpreter
and call the attribute its value prints out fine.

Then I change the name of the attribute from a to b and save 
filename.py

Calling the attribute now produces an errormessage:
Attributeerror: 'module has no attribute 'b'

This irritates me. Why does it happen?







More information about the Python-list mailing list