Results 1 to 3 of 3

Thread: python scripts

  1. #1

    Default python scripts

    Hello all,

    I installed Sipie to listen to sirius radio, and it works. However, I have 2 laptops set up with openSUSE 11 (fresh install).

    On one laptop to launch sipie I type in the following:

    sipie.py

    and on the other one I need to type in:

    ./sipie.py

    Why would i need to put in the ./ on the second laptop?

    --k

  2. #2
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    301

    Default Re: python scripts

    Hi

    this should depend on your PATH environment variable: If "." is in your PATH then you do not have to use "./" to execute a program (in the current directory) else you need "./" in front.

    To check the setting of your PATH variable type "echo $PATH"

    hope this helps

  3. #3

    Default Re: python scripts

    yup, the path on this laptop does not have . in the path. which is weird, because both laptops were fresh installs, the only difference is, this laptop was installed using the DVD, where the other (I will check the path after lunch) was installed with the live CD.

    --k

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •