good way to avoid recomputations?
Mike
termim at gmail.com
Fri Apr 15 23:59:44 EDT 2016
On Tuesday, April 5, 2016 at 4:54:50 PM UTC-4, Maurice wrote:
> Hi. I working on a project where I have 5 scripts loading the same file at the very beginning so I would like to know the best way I can get this file without having to compute it 5 times.
>
> I also perform, in all the scripts, a list comprehension using this file that takes 30s to run. Would be cool to always have access to it as well.
>
> Cheers
You can load the file and then fork ...
More information about the Python-list
mailing list