Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python background function

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #background #function
ADD COMMENT
Topic
Name
1+6 =