类内容如下
class Test(): def __init__(self, name):<--构造函数 self.name = name; return;test = Test("asdfdsf");print(test.name);
Python 类
原文:https://www.cnblogs.com/spchenjie/p/8387092.html