[Tutor] Interprocess communication
Alan Gauld
alan.gauld at btinternet.com
Wed Dec 7 00:39:47 CET 2011
On 06/12/11 19:10, bodsda at googlemail.com wrote:
> If you invoke the system 'cp' command though, it may
> not be possible to have a progress bar because the
> command will only talk back when it exits.
Not if you use the -v (verbose) option. That slows it down but does
provide a listing of every file copied. You can use the Subprocess
module to read that output and update your status bar.
But its not trivial I agree.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list