python script to use memcach