How to get progress in python script.
John Gordon
gordon at panix.com
Fri Sep 28 12:36:52 EDT 2012
In <mailman.1571.1348849432.27098.python-list at python.org> =?ISO-8859-1?Q?Rolando_Ca=F1er_Roblejo?= <rolando.caner at 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 at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list
mailing list