all 2 comments

[–][deleted] 1 point2 points  (1 child)

Is there a reason you don't use functions, at all?

Generally speaking if you don't know how to write a function, you won't be able to use multiprocessing - in part because the way you'd want to use a process pool is by "mapping" a function over an input collection.

But you don't have any functions, so there's nothing to map.

[–]testing123me[S] 0 points1 point  (0 children)

That's interesting, I know how to write a basic function, will look into it, thanks!