0
Please guy I need help here
import concurrent.futures import time def time(): print('wake up') time.sleep(1) return 'woke up' a = concurrent.futures.ProcessPoolExecutor() f = a.submit(time) print(f.result())
1 Respuesta
+ 1
Your function name conflicts with inbuilt package name time..
Use any other name for your function...