[Zope-dev] can you import a Product into a python script ?

Simon Michael simon@joyful.com
03 Aug 2001 13:39:17 -0700


Python scripts are super-cool.. except I can never do what I want.
Safety, shmafety.

Am I right in thinking the following can't work ?


## Script (Python) "zwiki_tests"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=
##
# run ZWiki test suite via simple through-the-web test runner

from Products import ZWiki
return ZWiki.tests.run()