[Zope] calling PythonScript on another machine
Kevin Carlson
khcarlso@bellsouth.net
Wed, 28 Aug 2002 14:59:28 -0400
Could you do this by using httplib and urllib in an external script:
Given that script name is "Script" and Comp B's name is CompB.com:
import httplib, urllib
def callRemoteScript() :
scriptname = "/Script"
conn = httplib.HTTPConnection('CompB.com')
conn.request("GET", filename)
response = conn.getresponse()
data = response.read()
conn.close()
This is untested, but it should work with minor tweaks.
Kevin
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
alienoid
Sent: Wednesday, August 28, 2002 1:25 PM
To: zope@zope.org
Subject: [Zope] calling PythonScript on another machine
Hello zope users,
Can anybody explain how I can call Python Script on comp B Zope from Python
Script on comp A Zope?
Thanks in advance
--
Best regards,
alienoid mailto:alienoid@is.lg.ua
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )