[Zope] Utility.py in PythonScripts

David Kyte david.kyte@microamps.com
Mon, 10 Jun 2002 23:44:20 +0100


Hi

Just discovered Utility.py in the PythonScripts folder.

I am running my own server for my own app development and I'd
like to run 're' and 'mysql' from PythonScripts.

First impression is that I can - reality is a little different

Have created folder with __init__.py and added code as per ReadMe

allow_module( 'pre' )

stopped/started server

Shows up Ok in ControlPanel

Created a script 


import pre

Option = "xxxxx"

m = pre.match( "xx(x)xx", Option )

if m: print m.group(0)

return printed


match works Ok but group is unauthorised.

Any takers

TIA

David Kyte