# Created by Leo from: C:\Python23\Tom\leo\pyro.leo import rserve import demmod import sys import Pyro # Pyro.config.PYRO_PORT = 7780 hostname=None ##if len(sys.argv)==2: ## hostname=sys.argv[1] ##else: ## hostname=None dict = rserve.connect(hostname) dict.log("placed DEMV in the distributed dictionary.") dict["DEM"] = demmod.demdata() print "placed DEMV in the distributed dictionary." rserve.serve() #rserve.close()