Try "python documents/helloworld.py" or "cd documents" before "python
helloworld.py".
Kevin

On Sun, Nov 30, 2008 at 11:50 AM, toveysnake <[EMAIL PROTECTED]> wrote:

> I decided that I want to learn python, and have no previous
> programming experience. I was reading the guide A byte of python and
> got to the part where you create and run the program helloworld.py I
> used kate to create this program and save it as helloworld.py. I then
> entered the command python helloworld.py into the terminal(I am using
> ubuntu 8.10) and I get this error:
>
> [EMAIL PROTECTED]:~$ python helloworld.py
> python: can't open file 'helloworld.py': [Errno 2] No such file or
> directory
>
> Am I saving the file in the wrong spot?(I saved it in documents)
> Should I use a different editor? Is there a better python book
> available online?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to