Skip to content

Instantly share code, notes, and snippets.

Created Oct 19, 2019
What would you like to do? patch
def _patch():
import os
import sys
import importlib.util
module_path = os.path.join(
os.path.dirname(os.path.realpath(__file__)), ""
spec = importlib.util.spec_from_file_location("QtSiteConfig", module_path)
mod = importlib.util.module_from_spec(spec)
sys.modules[] = mod
from Qt import *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment