Thanks.
Also, another question...
Is there a way in php to retrieve a list of all set keys and data for
memcache. So far, all i'm seeing is that you can specify known keys in an
array. The problems is that i don't know what these keys are to retrieve the
data...just want to pull it all.
$memcached = new Memcache;
$memcached->connect('IP', 11211);
$output = $memcached->get('keyhere');
thanks,
JJ
On Mon, Aug 3, 2009 at 12:45 PM, Gavin M. Roy <[email protected]> wrote:
> There is an easy to use pure python module called python-memcached
> available at tummy.com:
>
> http://www.tummy.com/Community/software/python-memcached/
>
> You can install it by doing:
>
> easy_install python-memcached
>
> If you look at the memcache.py script, you'll see a usage example in the
> tests towards the bottom in the if name == '__main__' condition.
>
> Hope this helps.
>
>
> On Mon, Aug 3, 2009 at 3:07 PM, JJ <[email protected]> wrote:
>
>>
>> I'm not seeing many examples on the web using memcache and python. Can
>> someone show me a quick sample of how to set up, add and retrieve data
>> from memcache?
>>
>> thanks,
>> JJ
>>
>
>