Search:

Type: Posts; User: xenazfire; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    2,336

    Re: SyntaxError: invalid syntax

    Solved!
    Placed on the first line on each *.py files:

    #!/usr/local/bin/python

    Thanks!
  2. Replies
    4
    Views
    2,336

    Re: SyntaxError: invalid syntax

    UPDATE:
    Copied the python files to

    /usr/local/bin/
    run

    nohup ./phew.sh &
    and it outputs

    from: can't read /var/mail/random
  3. Replies
    4
    Views
    2,336

    Re: SyntaxError: invalid syntax

    EDIT:
    Refer to post #4
  4. Replies
    4
    Views
    2,336

    [SOLVED]SyntaxError: invalid syntax

    #!/usr/local/bin/python
    until phew.py; do
    echo "'phew.py' crashed with exit code $?. Restarting..." >&2
    sleep 1
    done


    File "./phew.sh", line 2
    until phew.py; do
    ...
Results 1 to 4 of 4