Python标准类定义

class class_one:
    host=''
    port=''

    def __init__(self,host1):
        self.host=host1

    def run(self):
        print('run OK')