The dict.iterkeys method has been removed in Python 3. Use the following instead:
dict.iterkeys
for KEY in DICT: pass