Python 并未提供如C/C++/Java一样的const修饰符,换言之,python中没有常量,python程序一般通过约定俗成的变量名全大写的形式 ... def __setattr__(self,name,value):.
確定! 回上一頁