Nov-28-2016, 04:21 PM
(This post was last modified: Nov-28-2016, 04:23 PM by 0621_OWLgale.)
First time using Python and I bought a book called Python in Easy Steps by Mike McGrath.
I have made it onto page 16!! and 'Writing your first program',
and my first attempt at this is not working,
after creating a hello.py file it says 'to launch command prompt window, navigate to new directory and precisely enter the command python hello.py - to see the Python interpreter run your program', how do you navigate to the directory through the command prompt window? I cannot do this as it does not allow me to go to the directory through the command prompt window and when I enter in the python hello. py, the below is what I get,
C:\Users\gg>C:\Python34\MyScripts>python hello.py
'C:\Python34\MyScripts' is not recognized as an internal or external command,
operable program or batch file.
I will be very grateful if someone can give me advice on how I do this, thanks very much in advance
OWL
I have made it onto page 16!! and 'Writing your first program',
and my first attempt at this is not working,
after creating a hello.py file it says 'to launch command prompt window, navigate to new directory and precisely enter the command python hello.py - to see the Python interpreter run your program', how do you navigate to the directory through the command prompt window? I cannot do this as it does not allow me to go to the directory through the command prompt window and when I enter in the python hello. py, the below is what I get,
C:\Users\gg>C:\Python34\MyScripts>python hello.py
'C:\Python34\MyScripts' is not recognized as an internal or external command,
operable program or batch file.
I will be very grateful if someone can give me advice on how I do this, thanks very much in advance
OWL