[Zope-CMF] Zope security and Python...

Jens Vagelpohl jens@zope.com
Fri, 30 Aug 2002 08:12:48 -0400


you cannot just import random python modules into filesystem python 
scripts. see the documentation inside the PythonScripts folder 
underneath <zope>/lib/python/Products.

jens

On Friday, Aug 30, 2002, at 07:54 US/Eastern, Braun Brelin wrote:

> Hello,
>
> Sorry for all the newbie questions here...I'm still
> trying to get on my feet with Zope and Python.
>
> Doing a sample python script, I'm trying to do the
> following:
>
> import sys
>
> print "sys.path = ",sys.path
>
> I'm using the standard python script template provided
> with Zope.
>
> When I try and run this, I get a username/password
> dialog box.  When I type in the admin name and
> password, it rejects it.
>
> It seems as though there's some sort of security
> permissions that I have to enable/disable.  Anyone
> know what that is?
>
> Braun
>