Re: [Tutor] Hi, need help on zip commands for windows

2006-07-15 Thread Fabrizio Milo aka misto
> Can somebody explain what I'm doing wrong? The problem should be in the string passed to os.system try to print the complete string that you are passing to os.system. then run a shell and paste the complete string on the shell, I am sure that the shell will complain about something. Fabrizio _

[Tutor] Hi, need help on zip commands for windows

2006-07-14 Thread Ramakrishnan, Shashikanth
Thanks guys for all your inputs so far. Unfortunately, I still cant get it to work using the methods below. Attached is the code from my python shell, and the output is still ‘Backup failed’ when I run it. Can somebody explain what I’m doing wrong? Thanks, Shashi   Email : [EMAIL PR

Re: [Tutor] Hi, need help on zip commands for windows

2006-07-12 Thread Senthil_OR
pf.close()   -- Senthil   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramakrishnan, ShashikanthSent: Thursday, July 13, 2006 3:08 AMTo: tutor@python.orgSubject: [Tutor] Hi, need help on zip commands for windows Hi, I have just started using Python and would appreciate if

Re: [Tutor] Hi, need help on zip commands for windows

2006-07-12 Thread Luke Paireepinart
Ramakrishnan, Shashikanth wrote: > > Hi, > Hi. > > I have just started using Python and would appreciate if somebody > could help me out on zip commands. > > I am using C H Swaroop’s book “A byte of python” as my beginners guide. > > One example states to use >>>zip_command = "zip -qr '%s' %s" %

[Tutor] Hi, need help on zip commands for windows

2006-07-12 Thread Ramakrishnan, Shashikanth
Hi, I have just started using Python and would appreciate if somebody could help me out on zip commands. I am using C H Swaroop’s book “A byte of python” as my beginners guide.   One example states to use >>>zip_command = "zip -qr '%s' %s" % (target, ' '.join(source)) for zipping the t