good way to avoid recomputations?

Maurice mauricioliveiraguarda at gmail.com
Tue Apr 5 16:54:35 EDT 2016


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



More information about the Python-list mailing list