class A(object):
    c_pro = 100

    @classmethod
    def c_met(cls):
        print("world")

    def __init__(self):
        self.obj_pro = 1
        print("python")


a = A()
print(dir(a))
print(dir(A))
"""
通过dir()可以查看调用信息 类不能调用对象属性
"""
341618d1bda4f0a6d04a08236b47c5ea427ab238
class A(object):
    <mask token>

    @classmethod
    def c_met(cls):
        print('world')

    def __init__(self):
        self.obj_pro = 1
        print('python')


<mask token>

class A(object):
    c_pro = 100

    @classmethod
    def c_met(cls):
        print('world')

    def __init__(self):
        self.obj_pro = 1
        print('python')


<mask token>

class A(object):
    c_pro = 100

    @classmethod
    def c_met(cls):
        print('world')

    def __init__(self):
        self.obj_pro = 1
        print('python')


<mask token>
print(dir(a))
print(dir(A))
<mask token>

class A(object):
    c_pro = 100

    @classmethod
    def c_met(cls):
        print('world')

    def __init__(self):
        self.obj_pro = 1
        print('python')


a = A()
print(dir(a))
print(dir(A))
<mask token>

class A(object):
    c_pro = 100

    @classmethod
    def c_met(cls):
        print("world")

    def __init__(self):
        self.obj_pro = 1
        print("python")


a = A()
print(dir(a))
print(dir(A))
"""
通过dir()可以查看调用信息 类不能调用对象属性
"""