Beispiel #1
0
def Test():
    value = Tool.NeedTime(Iter_Tool.SmallIter())
    if not value == None:
        print(value)
Beispiel #2
0
from logic.ConfigPathSys import ConfigPathSystem
from tool.Filter import DFAFilter
from tool import Tool, String_Tool, Table_Tool, Math_Tool, Time_Tool, Iter_Tool, Filter

Model = 2


def InitFuc():
    Tool.SetPrintDisable(True)
    ConfigPathSystem()  # 直接初始化
    DFAFilter()  # 直接初始化


def Start():
    print("main.fuc")


def Test():
    value = Tool.NeedTime(Iter_Tool.SmallIter())
    if not value == None:
        print(value)


if __name__ == "__main__":
    Tool.NeedTime(InitFuc)
    #self: InitFuc()
    if Model == 1:
        self: Start()
    elif Model == 2:
        self: Test()