Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61625
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <drsalists@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'output': 0.05; 'executed': 0.09; 'subject:script': 0.09; 'cc:addr:python- list': 0.11; 'cc:name:python list': 0.16; 'executed.': 0.16; 'subject:python': 0.16; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'program,': 0.31; 'file': 0.32; 'another': 0.32; 'text': 0.33; 'open': 0.33; 'subject:the': 0.34; 'could': 0.34; 'display': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'similar': 0.36; 'being': 0.38; 'ago,': 0.61; 'took': 0.61; 'saw': 0.77 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8P/6I8rzGPKupyIF82xGlNRZYVds6pbyCV41++YI1NE=; b=oFDWst+zr2Wfq/RPA3X5Ev/VO1NxqxpgAqf2Ze8E2oj7BLoM1xEbOSoexAtxpXYMnZ 8huEBZvBpCkjteGZ/vwKr3KXVKMzoJeUFNeTAkLL/PH5g4R8vuSdRKngoU7fPxAvzOmN R8Osac6eJJA0O4ofxIoJLd6s9/viPQITdX/V6e4w1pejn4Ko35z9zF4cp+d4c+iRbMcI Gm291136+YWI5IlJQXhkFW48UTx6hwxK7RAytrCXGyPSGsQTMahKBTE6T/YUSv67gKx5 oOFI/U+V+pj9IK8dLVg0P7jMEIwHQimhr4RQ/wXk2DuSZuffUGQOHzbegxy4K/BU9eQu KDrQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.180.77.49 with SMTP id p17mr26157913wiw.30.1386803449180; Wed, 11 Dec 2013 15:10:49 -0800 (PST) |
| In-Reply-To | <CALVX-oZ6Z-36zc4YSA995D+-+UC1j3Aiw9-7f8EAhcp=XRsfkg@mail.gmail.com> |
| References | <CALVX-oZ6Z-36zc4YSA995D+-+UC1j3Aiw9-7f8EAhcp=XRsfkg@mail.gmail.com> |
| Date | Wed, 11 Dec 2013 15:10:49 -0800 |
| Subject | Re: Tracking the status of python script execution |
| From | Dan Stromberg <drsalists@gmail.com> |
| To | Shyam Parimal Katti <spk265@nyu.edu> |
| Content-Type | multipart/alternative; boundary=f46d04389213f6362d04ed4a564f |
| Cc | Python List <python-list@python.org> |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3938.1386803451.18130.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386803451 news.xs4all.nl 2912 [2001:888:2000:d::a6]:35491 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61625 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Long ago, I saw a C program that took another C program as input. It would output a copy of the original C program, interspersed with fprintf's that would display the text of the line current being executed. You might write something similar for Python, perhaps outputting the line being executed and/or the line number. You could have it open a file in /tmp or something.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Tracking the status of python script execution Dan Stromberg <drsalists@gmail.com> - 2013-12-11 15:10 -0800
csiph-web