Python类中@property、@classmethod和静态方法的区别与使用场景详解 文章浏览阅读5.7k次。1、静态属性。@property。作用就是把类的函数属性,封装成类似数据属性。class Student(object): school= Python教程 #Python类#静态方法#类方法 phper 2025年04月23日 0 37