Skip to content

Commit fb27fff

Browse files
committed
Final code for process pool edition.
1 parent 3aa6a14 commit fb27fff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/08-execution-pools/program.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import requests
22
import bs4
33
from concurrent.futures import Future
4-
from concurrent.futures.thread import ThreadPoolExecutor as PoolExecutor
4+
# from concurrent.futures.thread import ThreadPoolExecutor as PoolExecutor
5+
from concurrent.futures.process import ProcessPoolExecutor as PoolExecutor
56

67

78
def main():

0 commit comments

Comments
 (0)