xueyunzhen
Results
2
issues of
xueyunzhen
I add the path of Python.h in PythonQt.pro ``` INCLUDEPATH += /Users/../anaconda3/include/python3.7m ``` but I still have three problems . What code I need to add to fix these problems...
class Singleton(object): __instance = None def __new__(cls, *args, **kwargs): if not cls.__instance: cls.__instance = object.__new__(cls) return cls.__instance 自己写的单例模式