@@ -0,0 +1,598 @@
+#! /usr/bin/env/ python%0A#-*- coding:utf-8 -*-%0A%0Aimport json%0Aimport random%0Aimport string%0A%0Aclass handleSta(object):%0A%0A    shared = None%0A    %0A    def __init__(self):%0A        print string.ascii_letters%0A        print ''.join(random.sample(string.ascii_letters + string.digits, 8) )%0A    %0A    @classmethod%0A    def getInstance(self):%0A        if None == handleSta.shared:%0A            handleSta.shared = handleSta()%0A        return handleSta.shared%0A%0A    def read(self, key, default):%0A        pass%0A    %0A    def get(self, key, default):%0A        pass%0A%0A%0Aif __name__ == '__main__':%0A    print handleSta.getInstance()%0A

add data statistics