‘zip’ is not recognized as an internal or external command,

operable program or batch file.

backup failed

n.py:

`import os

import time

source=[r’C:\Users\AiMeN\Desktop\a’]

where=’/This PC/Documents’

ntarget=where + time.strftime(’%Y%m%d%H%M%S’) + ‘.zip’

zip_command=“zip -qr’%s’%s”%(ntarget,’’.join(source))

if os.system(zip_command) == 0:

print(“success backupto”,ntarget)

else :

print(“backup failed”)

`