[Zope] Using imports in external methods

Victor Ng v2ng@home.com
Wed, 1 Sep 1999 00:01:44 -0500 (CDT)


How do I use "import" in an external method?  Zope just gives me an import
error.  Let's say these are the two files that I want to use (test1.py,
test2.py).

test1.py
--
import test2
test2.testMethod()

test2.py
--
def testMethod():
	print "output.txt"