from A import add add(1,2). 當要呼叫調用Class (類): A.py文件: class A: def __init__(self,xx,yy): self.x=xx self.y=yy def add(self): ...
確定! 回上一頁