sys.path - stuff from nowhere?

Robert Kern rkern at ucsd.edu
Fri Jul 22 18:24:23 EDT 2005


Richard Kessler wrote:
> Just build python 2.3.4 (needed for Zope and Plone). Trying to learn more
> about use the data in sys.path from importing. When I run Python at the
> command prompt, import sys and print sys.path I get stuff that makes no
> sense. For example, /usr/local/lib/python23.zip.

Python can import from zip files, now, so yes, it does make sense.

http://www.python.org/peps/pep-0273.html

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Python-list mailing list