Re: Launching Python programs from Linux shell script

2005-09-13 Thread Magnus Lycka
Ernesto wrote: > Thanks! How do you add Python in Linux to the path? This works out of the box in most modern Linux distributions. If you're open to suggestions, I'd suggest that you have a look at Ubuntu. It's a user friendly Linux distribution with rather close ties to the Python community.

Re: Launching Python programs from Linux shell script

2005-09-12 Thread Steve Holden
Ernesto wrote: > Thanks! How do you add Python in Linux to the path? Similar to > setting environment variables in Windows. I want to be able to type > "python" when I'm in any directory to launch the interpreter. Thanks! > You will (or should) have a shell intialisation file variously called

Re: Launching Python programs from Linux shell script

2005-09-12 Thread Ernesto
Thanks! How do you add Python in Linux to the path? Similar to setting environment variables in Windows. I want to be able to type "python" when I'm in any directory to launch the interpreter. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Launching Python programs from Linux shell script

2005-09-09 Thread Ruben Charles
Yes... - Or... Add this line in de source: #!/usr/bin/env python then chmod +x myscript.py ./myscript.py On 9 Sep 2005 08:31:27 -0700, Ernesto <[EMAIL PROTECTED]> wrote: > Does anyone know how to start Python program(s) from a Linux shell > script

Re: Launching Python programs from Linux shell script

2005-09-09 Thread tooper
Yes, provided your python interpreter is installed, and in your path ("$ whereis python" should give you something like /usr/bin/python or /usr/local/bin/python) -- http://mail.python.org/mailman/listinfo/python-list

Re: Launching Python programs from Linux shell script

2005-09-09 Thread tooper
Yes, provided your python interpreter is installed, and in your path ("$ whereis python" should give you something like /usr/bin/python or /usr/local/bin/python) -- http://mail.python.org/mailman/listinfo/python-list