#!/usr/bin/env python import memcache client = memcache.Client(["127.0.0.1:11211"], cache_cas=True) # キーに値をセットして表示 client.set("key01", "value01") print "key01.value :", client.get("key01") # キーに値をアペンドして表示 client.append("key01", ",value02") print "key01.value :", client.get("key01") client.set("key02", 1) # 加算 client.incr("key02", 100) print "key02.value :", client.get("key02") # 減算 client.decr("ke