change dict from txt to py for pyinstaller