top of page
🧠Python-within-Python Script Execution Methods
As you know, I like to break my input into several smaller files. While packaging code into functions is great for reusability, it...

Silvia Mazzoni
Apr 8, 20254 min read
Â
Â
Â
...Hasn't multiprocessing been replaced by concurrent.futures?
I have been using concurrent.futures for a while now, but ChatGPT keeps mentioning multiprocessing and not concurrent futures.... so I...

Silvia Mazzoni
Apr 7, 20251 min read
Â
Â
Â
ProcessPool vs ThreadPool Executors in Concurrent Futures
Lot's of content out there showing you how to run each of these, but i have not found a detailed enough description of these two...

Silvia Mazzoni
Apr 6, 20252 min read
Â
Â
Â
The 3 methods in concurrent.futures
The map method confuses me, so I typically use the submit method. I am hoping ChatGPT helps me understand it better, so I know when to use it. Help me, ChatGPT... After reading what is below i know why I use submit -- it returns results as they are ready -- combined with as_completed. On the other hand, order matters in map and it returns results only when all are ready. I guess you would use map in a workflow when you can go to the next step only when all processes in this s

Silvia Mazzoni
Apr 5, 20253 min read
Â
Â
Â
bottom of page
