newbie questions about sys.path, wxpython, IDLE and pythonwin

David Ascher da at ski.org
Wed Jul 14 14:04:19 EDT 1999


On Wed, 14 Jul 1999, Matt Feinstein wrote:
> >Python uses a combination of the values you found in the registry, and some
> >default values - things like ".\lib" are added always, regardless of the
> >registry.  Remember, you have the same source to see how it works that I do.
> >
> 
>  Well, with all due respect, this can't be the whole story--  after
> installing the numeric extension, I found the numeric directory in
> sys.path, but not in the registry list.  So, what -is- going on here?

NumPy uses a .pth file which is used by Python at startup to modify the
path as well.  .pth files are discussed at:
 
     http://www.python.org/doc/essays/packages.html

(With all due respect, Mark's comment necessarily is the whole story,
since he pointed you at the code =)

--david ascher





More information about the Python-list mailing list