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


Groups > comp.lang.python > #30415

Re: How to get progress in python script.

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: How to get progress in python script.
Date 2012-09-28 16:36 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <k44jn4$hrn$1@reader1.panix.com> (permalink)
References <mailman.1571.1348849432.27098.python-list@python.org>

Show all headers | View raw


In <mailman.1571.1348849432.27098.python-list@python.org> =?ISO-8859-1?Q?Rolando_Ca=F1er_Roblejo?= <rolando.caner@gmail.com> writes:

> Hi all,

> Please, I need you suggest me a way to get statistics about a progress 
> of my python script. My python script could take a lot of time 
> processing a file, so I need a way that an external program check the 
> progress of the script. My first idea was that the python script write a 
> temp file showing the progress and the external program can check that 
> file, but I think might happen file read/write locking issues.

The external program should open the progress file for read only, so I
wouldn't think file locking would be an issue.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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


Thread

How to get progress in python script. Rolando Cañer Roblejo <rolando.caner@gmail.com> - 2012-09-28 12:26 -0400
  Re: How to get progress in python script. John Gordon <gordon@panix.com> - 2012-09-28 16:36 +0000
  Re: How to get progress in python script. "Colin J. Williams" <cjw@ncf.ca> - 2012-09-29 22:10 -0400

csiph-web