[Tutor] Python Trouble, Please Help!
Antonio de la Fuente
tonifuente at yahoo.co.uk
Wed Aug 7 23:54:07 CEST 2013
* Jonathan Hong <jayhong123 at gmail.com> [2013-07-24 16:23:52 -0700]:
> Hello,
>
> I am currently working with the Python programming language and had a very
> basic question regarding the start up of Python. For some reason, when I
> open up the Command Prompt in my Windows 7 computer, I am unable to access
> python files. So when I type in the python command, I am able to start
> writing in python, but I cannot call other python files such as saying python
> helloworld.py. I think it might have something to do with where I am
> placing my files and the path of python? Not too sure though because of my
> lack of computer knowledge. When I do put in python helloworld.py into the
> command prompt line, the computer gives me a response of: "python: can't
> open file 'hello.py': [Errno 2] No such file or directory." I know for a
> fact that there does exist a file called hello.py though.
> Please help me if you can!
>
> Sincerely,
> Python_Beginner
I think I can help with this one.
Yes you are right, it is to where you are placing your files and where
you are in the file system when you are trying to run your
helloworld.py.
I leave you a link with some more info in how to navigate windows file
systems with the command prompt, I hope it helps:
http://www.watchingthenet.com/how-to-navigate-through-folders-when-using-windows-command-prompt.html
Regards,
--
Toni
Las tres cosas que mas me gustan en el mundo son el silencio, la soledad
y los espacios vacios.
-- Chumy Chomez.
More information about the Tutor
mailing list