Gibt es in der Python Multiprocessing
-Bibliothek eine Variante von pool.map
, die mehrere Argumente unterstützt?
text = " testen" def Harvester(Text, Fall): X = Fall[0] Text+Str(X) if __name__ == "__main__": pool = multiprocessing.Pool(processes=6) case = RAW_DATASET pool.map(Harvester(Text,Fall) , Fall, 1) pool.close() pool.join()