In <mailman.1571.1348849432.27098.python-l...@python.org> 
=?ISO-8859-1?Q?Rolando_Ca=F1er_Roblejo?= <rolando.ca...@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
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to