Importing modules through directory shortcuts on Windows
Duncan Booth
duncan.booth at invalid.invalid
Wed Apr 26 10:29:43 EDT 2006
Brian Quinlan wrote:
> Anyway, the problem is that Windows does not have a symlink facility to
> accommodate this (AFAIK) and the Python import mechanism does not
> resolve shortcuts.
Windows does have the equivalent of symlinks provided you are running on
NTFS with Windows 2000 or later (Google for 'XP junction'). However, by
default the system provides no support for manipulating junction points, so
they are only really useful in an environment where you can control the
tools on the system, not something you can expect to use on arbitrary
systems.
More information about the Python-list
mailing list