#!/usr/bin/env python # -*- coding: utf-8 -*- import memcache #cache = memcache.Client(['127.0.0.1:11211'], debug=1) #cache.set('foo', 'bar') #cache.get('foo')