[vsipl++] [patch] Source configuration for package.py
    Jules Bergmann 
    jules at codesourcery.com
       
    Fri Apr 20 00:45:13 UTC 2007
    
    
  
>>
>> Is there (and there must be, it is python!) a good way to include one
>> configure file from another?
> 
> from other_config import *
If the file "other_config" is has a full path "a/b/c/other_config", and 
that path is stored in a variable cfg_path, how would you write this 
statement?  Would this work:
	from '%s/other_config'%cfg_path import *
-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
    
    
More information about the vsipl++
mailing list