Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
canjobear
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
104 ms
·
1411.
▲
by
canjobear
13y ago
The trouble with Pool.map is that the function you pass in has to be picklable, i.e. defined at the top level in the module you are currently in. So you can't use it in interactive sessions: In [1]: import multiprocessing In [2]: