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' is not defined
(following tutor
obviously total mewbiew:
My first program in Python Windows
print "Hello World"
I select Run/Run Module and get an error:
Syntax error, with the closing quote highlighted.
Tried with single quotes as well. Same problem.
Can someone explain my mistake?
Thanks,
- Henrik
--
http://mail.python.
On Mar 12, 7:45 am, Dotan Cohen wrote:
> > Welcome to the list. As a newbie myself, I ran into the Python3 vrs
> > 2.6 issue. May I suggest starting with 2.6? There is many more books
> > and internet stuff you can learn with in 2.6 - and the examples will
> > work. As Garry wrote, once you und
On Mar 12, 3:15 am, Gary Herron wrote:
> Henrik Bechmann wrote:
> > Newbie issue:
>
> > I downloadedhttp://www.python.org/download/releases/3.0.1/(windows
> > insaller), opened the interpreter, wrote a print "Hello World" program
> > in helloworld.py, and