#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ """ __version__ = "$Id$" #end_pymotw_header import xmlrpclib proxy = xmlrpclib.ServerProxy('http://localhost:9000') print proxy.list_contents('/tmp')