On 12/14/2010 11:52 PM, JohnWShipman wrote:
> you
> know how us ancient Unix weenies are.
Indeed we do ... ;-)
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon 2011 Atlanta March 9-17 http://us.pycon.org/
See Python Video! http://python.mirocommunity.o
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).
>
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).
>
On Tue, 14 Dec 2010 16:25:54 + (UTC)
Harishankar wrote:
> On Tue, 14 Dec 2010 10:57:40 -0500, D'Arcy J.M. Cain wrote:
> > open(out_fn, 'w').write(open(in_fn).read())
> Or what about shutil? Isn't that the higher level file operation module?
At least that's in the standard library but even t
On Tue, 14 Dec 2010 10:57:40 -0500, D'Arcy J.M. Cain wrote:
> 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())
Or what about shutil? Isn't that the higher
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).
>
> See http://modcopy.sourceforge.net for a more portable
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.
Regards,
bal...@gmail.com
--
http://mail.python.org/mai
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