Pythonic Idiom For Searching An Include Path

Tim Daneliuk tundra at tundraware.com
Thu Jun 24 08:38:37 EDT 2010


On 6/24/2010 2:57 AM, Gregory Ewing wrote:
> 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".
> 

Point well taken, thanks.

-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra at tundraware.com
PGP Key:         http://www.tundraware.com/PGP/




More information about the Python-list mailing list