Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread JohnWShipman
On Dec 14, 8:57 am, "D'Arcy J.M. Cain" wrote: > On Tue, 14 Dec 2010 07:35:45 -0800 (PST) > > baloan wrote: > > Unfortunately you use command('cp...') to copy the file instead of > > Pythons portable library methods. This choice > > effectively makes your program work on Unix only (not Windows). >

Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread JohnWShipman
On Dec 14, 8:57 am, "D'Arcy J.M. Cain" wrote: > On Tue, 14 Dec 2010 07:35:45 -0800 (PST) > > baloan wrote: > > Unfortunately you use command('cp...') to copy the file instead of > > Pythons portable library methods. This choice > > effectively makes your program work on Unix only (not Windows). >

Tkinter polling example: file copy with progress bar

2010-12-12 Thread JohnWShipman
Attached below is a Tkinter script that demonstrates polling, that is, performing a long-running process in parallel with the GUI. The script asks for an input file name and an output file name and copies the input file to the output file. The copy operation is done in a child process managed wit