execfile syntax & zope error

dd brendon.co at asia.bigfoot.com
Thu Sep 19 11:07:48 CEST 2002


Im having problem using execfile.

Using execfile('filename.exe') on zope for web purpose, generate an error:

An error has occurred. The Site Admistrator has been notified. 
global name 'execfile' is not defined and Traceback (innermost last)

should I import something on python like:

import sys

but this gives me an error, refer above.....

Any help...thanks


More information about the Python-list mailing list