KDE/kdelibs/bksys

Frans Englich frans.englich at telia.com
Sat Oct 15 19:17:30 CEST 2005


On Saturday 15 October 2005 10:24, David Faure wrote:
> SVN commit 470807 by dfaure:
[...]
> * find another syntax to load a .py from a subdir. Is
> that possible? 

I have no insight in bksys, but as a general comment, python have good 
facilities for customizing that, see the pydocs for the imp module(`pydoc 
imp'). As example, in playground/utils/defense/runner/runner:30, the 
__import__ function is used for gracefully handling failed imports.

But of course, one doesn't want to customize and override, one wants code as 
simple and standard as possible(but sometimes that's not enough).


Cheers,

		Frans


More information about the Kde-buildsystem mailing list