Importing modules takes long time

Tim Golden tim.golden at
Tue Jul 20 09:48:44 CEST 2004

[ptouchsystems at]
| I am using Python 2.3.4 with Windows 2000. It is a Pentium Xeon
| 2GHz with 1GB of RAM.
| As the title says, importing most modules takes about 2 to 3 seconds.
| Also, starting the interpreter takes 2-3 seconds (I think at 
| the time it 
| tries to import site)

I honestly doubt if this is what you're seeing, but I have
had some (as yet unresolved) difficulties when importing 
modules which rely on externall DLLs across a WAN link. The
link itself was otherwise perfectly acceptable, but
something in the mechanism used to import (whether in Windows
or in Python) slowed down the import to three minutes.

As I say, a bit of a specific situation, but just in case
it helps...


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

More information about the Python-list mailing list