📜  python后台函数——Python代码示例

📅  最后修改于: 2022-03-11 14:45:40.753000             🧑  作者: Mango

代码示例1
import threading
def my_inline_function(some_args):
    # do some stuff
    download_thread = threading.Thread(target=some_function, name="Downloader", args=some_args)
    download_thread.start()
    # continue doing stuff