Converting .py files to batch files.

Grant Edwards invalid at invalid
Wed Sep 17 12:48:27 EDT 2008


On 2008-09-17, r0g <aioe.org at technicalbloke.com> wrote:

> r0g at steppa:~/Desktop/py$ ls
> kickstart.py  kickstart.py~  kicktest.py  kicktest.py~
> r0g at steppa:~/Desktop/py$ kickstart.py
> bash: kickstart.py: command not found
>
> Any ideas why this might be?

Yes.

> A path thing?

Yes.

Linux systems generally don't have the current directory in the
PATH that's searched for executbles (it's regarded as a rather
serious security problem if you do).

Try doing this:

 ./kickstart.py

-- 
Grant Edwards                   grante             Yow! Look into my eyes and
                                  at               try to forget that you have
                               visi.com            a Macy's charge card!



More information about the Python-list mailing list