我的代码出了问题,我不知道python为什么不调用我的函数。
这是我的密码。我只完成了在startProcess中打印打印语句
def startProcess(self):
print("hello")
def repeat(self):
self.startProcess
print("Done")
发布于 2014-01-28 22:49:22
您实际上不是http://docs.python.org/3.2/reference/datamodel.html#object.__call__ self.startProcess
,还是一个错误?
尝试:
self.startProcess()
https://stackoverflow.com/questions/21418562
复制相似问题