#!/usr/bin/env python # -*- coding: utf-8 -*- from os.path import dirname as directory_name from os.path import abspath as path_absolute file = directory_name(path_absolute(__file__)) + "/include.py" with open(file, "rb") as data: exec(compile(data.read(), "include.py", "exec"), globals()) if "LibreTranslatePlus" not in globals(): class LibreTranslatePlus:pass ltp = LibreTranslatePlus()