def initialize_task(self): # Create directory structure: mkdir(self.target_dir) execute_at_target(create_in_out_src, self) # From here on out, rigging is identical to creating anew: self.rig_task()
def initialize_task(self): # Create directory structure: mkdir(self.target_dir) with open(join(self.target_dir, 'dodo.py'), 'w') as stream: stream.close() execute_at_target(create_in_out_src, self) # From here on out, rigging is identical to creating anew: self.rig_task()
def initialize_task(self): mkdir(self.target_dir) execute_at_target(dump_self, self)
def save_self(self): execute_at_target(dump_self, self)