python导入模块中类的方法

1、导入模块中的单类 》创建模块 #file:person.py class Person(): def __init__(self): print("I'm a person!") def name(self): print("I need a name!") def age(self): print("I have
相关文章
相关标签/搜索