Pythonic Idiom For Searching An Include Path
Gregory Ewing
greg.ewing at canterbury.ac.nz
Thu Jun 24 03:57:09 EDT 2010
Tim Daneliuk wrote:
> "If 'includefile' contains one or more path separator characters,
> ignore 'FOOPATH'.
Are you sure that's exactly what you want? Usually with
such things the distinction is absolute vs. relative,
not whether there is more than one pathname component.
E.g. in a C file,
#include "GL/gl.h"
will search the include path for a directory called
"GL" containing a file called "gl.h".
--
Greg
More information about the Python-list
mailing list