Giovanni Bajo wrote: > http://code.activestate.com/recipes/496746/ The RestrictedPython package is probably a more robust and maintained version of this... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk