When you put in DFA.init()DFA.__init__(), you're calling the init__init__ method for the entire module (I don't even know what that is defined as). You should use DFA.DFA.init()DFA.DFA.__init__(), which refers to the init__init__ method of the DFADFA class within DFA.pyDFA.py, or use:
from DFA import *
DFA.__init__()