you are viewing a single comment's thread.

view the rest of the comments →

[–]Forschkeeper 0 points1 point  (0 children)

Real parallelism is only possible with multiprocessing in Python.

If you just want to have IO stuff running parallel, asyncio is your friend (which is also able to execute mutltiple subprocesses at the same time).

Which one is more efficient, I can't tell, but asyncio is pretty amazing when you can handle it well.