Python:将主类传递给其他类是个坏主意吗?我有一个主类,它保存程序的主循环和其他变量等等。在 class main: def __init__(self): blah = 'blah' blah2 = 'b ...2024-07-08 已阅读: n次