Re: Using fcntl and other system calls

Guido.van.Rossum@cwi.nl
Wed, 16 Mar 1994 10:10:24 +0100

> Regarding the search for imported modules. I installed python on one
> of our AIXs and in the <lib> area there is a sun4 directory with
> FCNTL.py, and an sgi directory with same. Does python check the name
> of the OS when starting up to determine where to look. If I create a
> directory AIX, will it look there, or shall I say, how do I
> determine where it is going to look ?

Don't worry, this is taken care of by the default module search path
(the initial value for sys.path) set at build time. When building
Python, you can define the path by editing the Setup file.

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>