[Tutor] gzip

Ramkumar Parimal Alagan ramster6 at gmail.com
Thu Dec 2 07:53:07 CET 2004

I am trying to zip some files off a folder in windows Xp, can u let me
know is wrong in the script below.

import os
import gzip

source = ['D:\\down']

target = ['d:\\']

zip = gzip.open(source[rb[9[target]]])

if os.system(zip) == 0:
    print 'Successful backup to', target
    print 'Backup FAILED'

More information about the Tutor mailing list