why?
# coding=utf-8
#中文注释
import os
import time
MajorObject = {
'/cygdrive/e/eBooks/Linux',
'/cygdrive/e/eBooks/JAVA'}
TargetDir = '/cygdrive/e/eBooks/'
Target = TargetDir + time.strftime('%Y%m%d%H%M%S') + '.tar'
print Target
ZipCmd = "tar -zcvf '%s' %s"%(Target, ' '.join(MajorObject))
print ZipCmd
result = os.system(ZipCmd)
if 0 == result:
print 'Succeed backup to ', Target
else:
print 'Backup FAILED'