Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45519

Re: python script is not running

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:not': 0.03; 'interpreter.': 0.07; 'subject:script': 0.09; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'path.': 0.16; 'program?': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'header:In-Reply-To:1': 0.27; 'specifically': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'run': 0.32; 'knows': 0.35; 'received:google.com': 0.35; 'done': 0.36; 'question,': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'full': 0.61; 'first': 0.61; 'obvious': 0.74; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Xbf9Z3VX3UuAGqbFwlAWN0FQNxz6QzRW/lt7dUhaiVE=; b=V/AA3a+fIgGpihRm1j/2wAU2XyteH6umuCXrwqDmef4GIlPPzV7xi7g/ZzF5J0a6iC 5V16svY9T8JueNcxQbox4ETaJ3/pP6/gn8zpdaL86EtsoSq4yAx6cVTxryEa8uYLaO4y qN2Rvtcd/x+gg0X7LmETbrYo461OA55R7C0Pbu+0vi41hoXVoBSOjxkmhMaWHtdVqPUc Q8kIxVwbtct5RXwL0d8LY9xLGb5m/rMQC7/BKYmrT4dzMX17NHh90V8w/79l+iKKokOF RxjQIK1NUN8cyn3glIUIZVDkVPrlCXOvCumbnOPcJFwmmF+A9wRG/adWKIqGUj4yDVzX YkRg==
MIME-Version 1.0
X-Received by 10.220.109.66 with SMTP id i2mr2250460vcp.51.1368899952348; Sat, 18 May 2013 10:59:12 -0700 (PDT)
In-Reply-To <185557b8-5cd0-4e9c-8c6d-855a8635492c@pd6g2000pbc.googlegroups.com>
References <bb111639-6a94-4151-a153-9bbebe75a4ea@googlegroups.com> <185557b8-5cd0-4e9c-8c6d-855a8635492c@pd6g2000pbc.googlegroups.com>
Date Sun, 19 May 2013 03:59:12 +1000
Subject Re: python script is not running
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1809.1368899960.3114.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368899960 news.xs4all.nl 15868 [2001:888:2000:d::a6]:56193
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45519

Show key headers only | View raw


On Sun, May 19, 2013 at 3:35 AM, woooee <woooee@gmail.com> wrote:
> The obvious question, do you have the shebang on the first line so the
> OS knows it's to be run as a Python program?

That won't make any difference; the cron job specifically stipulates
the interpreter. It just needs to be done with a full path.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python script is not running Avnesh Shakya <avnesh.nitk@gmail.com> - 2013-05-18 03:12 -0700
  Re: python script is not running Chris Angelico <rosuav@gmail.com> - 2013-05-18 23:28 +1000
    Re: python script is not running Roy Smith <roy@panix.com> - 2013-05-18 09:44 -0400
  Re: python script is not running Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-18 12:35 -0400
  Re: python script is not running woooee <woooee@gmail.com> - 2013-05-18 10:35 -0700
    Re: python script is not running Chris Angelico <rosuav@gmail.com> - 2013-05-19 03:59 +1000
    Re: python script is not running Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2013-05-18 20:43 +0200
    Re: python script is not running Chris Angelico <rosuav@gmail.com> - 2013-05-19 09:33 +1000

csiph-web