Re: NameError: name 'execfile' is not defined

2009-03-12 Thread Henrik Bechmann
in the interpreter typed > > > execfile("helloworld.py") > > > Got back > > > NameError: name 'execfile' is not defined > > > (following tutorial in David Beazley's Python Essential Reference). > > > Is execfile not support

Re: NameError: name 'execfile' is not defined

2009-03-12 Thread Gary Herron
Henrik Bechmann wrote: Newbie issue: I downloaded http://www.python.org/download/releases/3.0.1/ (windows insaller), opened the interpreter, wrote a print "Hello World" program in helloworld.py, and in the interpreter typed execfile("helloworld.py") Got back NameError: na

NameError: name 'execfile' is not defined

2009-03-11 Thread Henrik Bechmann
Newbie issue: I downloaded http://www.python.org/download/releases/3.0.1/ (windows insaller), opened the interpreter, wrote a print "Hello World" program in helloworld.py, and in the interpreter typed execfile("helloworld.py") Got back NameError: name 'execfile&#x