def __init__(self): print('Initialize Dictionary Manager...') self.init_dir() self.translator = GCPutil.GTranslator() self.tts = GCPutil.GTextToSpeech() self.sound_player = SoundUtil.PlaySound() self.dic_db = DictionaryUtil.DictionaryDB() self.cur_word = DictionaryUtil.DictionaryWord() self.new_word = DictionaryUtil.DictionaryWord() self.dic_db.connect_db() print('Initialize Done!')