# Created by Leo from: C:/Python23/Tom/leo/pyro.leo import rserve import cammod 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 Camera in the distributed dictionary.") dict["Camera"] = cammod.Camera() print "placed Camera in the distributed dictionary." rserve.serve() #rserve.close()