06 2017 档案
摘要:# redis 配置文件示例 # 当你需要为某个配置项指定内存大小的时候,必须要带上单位, # 通常的格式就是 1k 5gb 4m 等酱紫: # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g => 1000000000 bytes # 1gb => 1...
阅读全文
摘要:country = '澳大利亚' class Chinese: country = '中国' def __init__(self,name): self.name = name print('------>',country) #既不是类属性,也不是实例属性,根据作用域原则查找 print('------>',self.cou...
阅读全文