TypeError: main() takes 0 positional arguments but 1 was given

 

def main(self):

括号里加上self就好了

相关文章: