def load(self, filename):
dir_name = os.path.dirname(filename)<EOL>mod_name = os.path.basename(filename).split('<STR_LIT:.>')[<NUM_LIT:0>]<EOL>self.filename = mod_name<EOL>sys.path.insert(<NUM_LIT:0>, dir_name)<EOL>mod = __import__(mod_name)<EOL>sys.path.remove(dir_name) <EOL>pipers, xtras, pipes = mod.pipeline()<EOL>self.add_pipers(pipers, xtras)<EOL>self.add_pipes(pipes)<EOL>
Instanciates (loads) pipeline from a source code file.

Arguments:

  - filename(``path``) location of the pipeline source code.