Python静态方法的使用

class Util():
    
    @staticmethod
    def Func1():
        print "Execute Func1!"

def main():
    Util.Func1()

 

posted @ 2016-05-24 17:44  HONT  阅读(431)  评论(0编辑  收藏  举报