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


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to