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 else: print 'Backup FAILED'