Performance when working directory is slow network drive
Fredrik Lundh
fredrik at pythonware.com
Fri Mar 2 03:04:19 EST 2001
Mark Hadfield wrote:
> 1. Why having the current directory in the search path affects the import
> time for the os module much more than it does for other modules I tested
> (like string). Is this because os is a package?
try running the interpreter with -vv (very verbose) might
give you additional clues:
python -vv -c "import os"
(look for "trying" messages)
Cheers /F
More information about the Python-list
mailing list