noob needs help

Rafe rafesacks at
Mon Dec 1 10:01:45 CET 2008

On Dec 1, 12:50 am, toveysnake <collinto... at> 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 I
> used kate to create this program and save it as I then
> entered the command python into the terminal(I am using
> ubuntu 8.10) and I get this error:
> collin at collin-laptop:~$ python
> python: can't open file '': [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?

if you go to the directory where you put the file and run the python
command, it should work (or supply the full path and not just

- Rafe

More information about the Python-list mailing list