Tkinter polling example: file copy with progress bar
D'Arcy J.M. Cain
darcy at druid.net
Tue Dec 14 10:57:40 EST 2010
On Tue, 14 Dec 2010 07:35:45 -0800 (PST)
baloan <baloand at googlemail.com> 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).
>
> See http://modcopy.sourceforge.net for a more portable version.
I guess I missed the beginning of this thread but can someone tell me
why one needs to download a whole other program in order to do this?
open(out_fn, 'w').write(open(in_fn).read())
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list