Import in a separate thread

Grant Edwards grante at visi.com
Sat Feb 25 10:38:08 EST 2006


On 2006-02-25, cyberco <cyberco at gmail.com> wrote:

> Well, it is for the python implementation for Nokia Series 60 phones,
> and loading lots of modules in such constrained environments can
> certainly slow things down. The splashscreen idea is what I want to do,
> but that requires the loading to continue in a background thread.

Ah, so you're _not_ trying to speed things up.  You just want
to re-arrange the order in which things happen.  While threads
rarely help the former, they do work well for the latter.

-- 
Grant Edwards                   grante             Yow!  You should all JUMP
                                  at               UP AND DOWN for TWO HOURS
                               visi.com            while I decide on a NEW
                                                   CAREER!!



More information about the Python-list mailing list