execfile syntax & zope error
dd
brendon.co at asia.bigfoot.com
Thu Sep 19 05:07:48 EDT 2002
Hi,
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
execfile('filename.exe')
but this gives me an error, refer above.....
Any help...thanks
dd
More information about the Python-list
mailing list