#!/usr/bin/env python """ $Id: mogilefs.py 4014 2007-09-05 16:05:22Z justin $ client module for MogileFS Copyright 2005 Justin Azoff License: GPL >>> import mogilefs >>> c=mogilefs.Client(domain='test',trackers=['edge:7001']) >>> c.list_keys('m') ('mogilefs.py', ['mogilefs.py']) >>> c.send_file('motd', '/etc/motd') True >>> print c.get_file_data('motd') # or print c['motd'] Linux dell 2.6.8 #1 Wed