app/home_page.py
def update_fighters(self, fighter_url_list):
        """Use  multiprocessing.Process  in a for loop
        to update every fighter at the same time."""

        for fighter_url in fighter_url_list:
            url = fighter_url[0]

            # we have to spawn a new process, otherwise Tkinter will get a crash
            update_fighter_process = multiprocessing.Process(
                target=db_functions.multiprocessing_update_fighter, args=[url])

            # start a process
            update_fighter_process.start()

            # check process status
            self.check_process(update_fighter_process)
Use  multiprocessing.Process  in a for loop
        to update every fighter at the same time.
Use  multiprocessing.Process  in a for loop
to update every fighter at the same time.
Use multiprocessing . Process in a for loop to update every fighter at the same time .
def update_fighters(self, fighter_url_list):
        for fighter_url in fighter_url_list:
            url = fighter_url[0]
            update_fighter_process = multiprocessing.Process(
                target=db_functions.multiprocessing_update_fighter, args=[url])
            update_fighter_process.start()
            self.check_process(update_fighter_process)
def update_fighters ( self , fighter_url_list ) : for fighter_url in fighter_url_list : url = fighter_url [ 0 ] update_fighter_process = multiprocessing . Process ( target = db_functions . multiprocessing_update_fighter , args = [ url ] ) update_fighter_process . start ( ) self . check_process ( update_fighter_process )
Use  multiprocessing.Process  in a for loop
to update every fighter at the same time.
Use multiprocessing . Process in a for loop to update every fighter at the same time .
"""Use  multiprocessing.Process  in a for loop
        to update every fighter at the same time.""" # we have to spawn a new process, otherwise Tkinter will get a crash # start a process # check process status
self
fighter_url_list