我现在自定义了两个函数
def test():
while True:
...
...
def test1():
while True:
...
...
这两个函数都是一个无限循环的两个函数,我现在想让这两个函数在同一个PY文件中去同时执行,不知道大佬们有什么好的解决方法呢。新手求教。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
多线程 threading