Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61609
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <spk265@nyu.edu> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'received:209.85.223': 0.03; 'lines,': 0.07; 'executed': 0.09; 'executes': 0.09; 'subject:script': 0.09; 'python': 0.11; 'i.e': 0.16; 'subject:python': 0.16; 'library': 0.18; 'all,': 0.19; 'script': 0.25; 'message-id:@mail.gmail.com': 0.30; 'lines': 0.31; 'usually': 0.31; 'trace': 0.31; 'run': 0.32; 'running': 0.33; 'subject:the': 0.34; 'received:209.85': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'seconds': 0.37; 'received:209': 0.37; 'button': 0.38; 'skip:& 10': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'complete': 0.62; 'within': 0.65; 'background:': 0.68; 'informed': 0.78; '(no.': 0.84; 'execution.': 0.84 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=MX1jTX1+XBQLfss+XAPseLG5wIeCWJdPouYmycSDPNo=; b=LBnayQ6ntJIE4hwe16ZiF6vBOhzts6tYuJLYpNeKHk7LnndAXitiTxAXPl6nMXhcXL p9wDYyQQxgdqn2Lbdicjzz7Xgsng4PcQUyZGc3DIi8A8EW25zXzUOx0bmLmFZCyVdVK+ eF57ggV7mFAnYmSDJnQuJexuS9GK8ydNxV+OCUnmUfKHT6LWuhNUuzDNCP5yruh61BFZ J0fritVGAfee0gn1poNolgFbNoFvxOcSXCGPN+TX0shZoC1nOIVJLIbzStK5iyX0/9tk 2rmuUVhakpseePQpEFxMcerltNNMHCOWyBspUQWzlTPjn+u3kwPq3a8ZMbWi2c69ggmv gF9Q== |
| X-Gm-Message-State | ALoCoQmhDrrdN43RbtuD0JleENFsv7UfbL6+RE1KXdp14xHcWb23FCynrlym35Su2AUkR2bJ/LaB |
| MIME-Version | 1.0 |
| X-Received | by 10.42.66.84 with SMTP id o20mr2003592ici.71.1386789975916; Wed, 11 Dec 2013 11:26:15 -0800 (PST) |
| Date | Wed, 11 Dec 2013 14:26:15 -0500 |
| Subject | Tracking the status of python script execution |
| From | Shyam Parimal Katti <spk265@nyu.edu> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=90e6ba614b2ae5396b04ed4733e4 |
| 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.3923.1386789984.18130.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386789984 news.xs4all.nl 2867 [2001:888:2000:d::a6]:56965 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61609 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hello All, I am looking for a library that can help me trace the status of a live python script execution. i.e if I have a python script `x.py` with 200 lines, when I execute the script with `python x.py`, is there a way to trace the status of this execution in terms of number of lines executed so far? Background: We have a Web page with "Run" button that executes the program `x.py` when a user clicks it. We were looking of a way to keep the user informed about the status of run by using: (no. of lines executed/total lines) *100. Since the script `x.py` is running multiple sql queries, it usually won't be the case that the script would complete within few seconds of its execution. Regards
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Tracking the status of python script execution Shyam Parimal Katti <spk265@nyu.edu> - 2013-12-11 14:26 -0500
csiph-web