[Zope] Calling PythonMethods from PythonMethods.

Dan Rusch drusch@globalcrossing.com
Fri, 26 May 2000 09:46:34 -0500



Steve Drees wrote:

> How does one do this?

Suppose you have a file, test.py, and in it you have a method

def printHere():
    print 'Here'

Suppose also that you wish to call that method from another file,
SecondFile.py. In SecondFile.py:

import test

test.printHere()

ciao

DR