Re: [Tutor] Writing to a file problem....

2008-12-05 Thread spir
Marty Pitts a écrit : Date: Fri, 5 Dec 2008 23:48:32 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Tutor] Writing to a file problem zip_command = "c:\Users\Marty\Zip\Zip -!rv '%s' %s" % (target, ' '.join(source)) What if you jus

Re: [Tutor] Writing to a file problem....

2008-12-05 Thread Kent Johnson
On Fri, Dec 5, 2008 at 3:51 AM, Marty Pitts <[EMAIL PROTECTED]> wrote: > #5. We use the zip command to put files in a zip archive > zip_command = "c:\Users\Marty\Zip\Zip -!rv '%s' %s" % (target, ' > '.join(source)) It might help to print zip_command, to make sure it is what you expect. You can

Re: [Tutor] Writing to a file problem....

2008-12-05 Thread wesley chun
marty, i applaud you in your efforts to port this script to the Win32 platform. the task is not as simple as one may expect, due to the differing file pathname nomenclatures that the different operating systems use. because of this, i have a couple of suggestions: 1. highly recommend converting

[Tutor] Writing to a file problem....

2008-12-05 Thread Marty Pitts
Hi, I am currently working my way through the .pdf Byte of Python tutorial by Swaroop, C H After about 1/2 way I ran into a problem that my own trouble shooting has failed :-(. The script created is for backing up files into a .zip format. It is written by the author in a *nix environment.