S
skyworld
Hi,
I see someone's code as this:
class ABC: ....
def __init__(self, env):
.......
self.jmpTable['batchQ']['submit_job'] = self.lsf_submit
.......
def lsf_submit(self, cmd,env):
.....
what confused me is why there is no parentheses for self.lsf_submit in
"self.jmpTable['batchQ']['submit_job'] = self.lsf_submit"? what does
this piece of code mean? thanks.
I see someone's code as this:
class ABC: ....
def __init__(self, env):
.......
self.jmpTable['batchQ']['submit_job'] = self.lsf_submit
.......
def lsf_submit(self, cmd,env):
.....
what confused me is why there is no parentheses for self.lsf_submit in
"self.jmpTable['batchQ']['submit_job'] = self.lsf_submit"? what does
this piece of code mean? thanks.