# import time


# # 定时器
# # fn 执行函数，
# # second 单位 秒，表示每x second 执行一次
# # clear  入参，则打断
# def SetTimeInterval(fn,second,clear=False):
#     while True:
#         if clear:
#             break
#         time.sleep(second)
#         fn()


# # 延时器
# def setTimeOut(fn,second):
#     time.sleep(second)
#     fn()



# def xx():
#     print(time.time())



# if __name__ == "__main__":
#     pass
#     # SetTimeInterval(xx,1)
#     # setTimeOut(xx,1)
#     # SetTimeInterval(xx,1,clear=True)

