[Sugar-devel] Need help with 'shutil'

Ütkarsh Tiwari iamutkarshtiwari at gmail.com
Sat May 28 08:09:51 EDT 2016


Hi,
     I am trying to zip the contents of a directory using shutil but I
am facing some issues.

I want to zip the contents present inside 'root/my_folder/' directory
to 'root/my_folder.zip'. I am unable to figure what exact commands
shall I specify in "shutil.make_archive()" to get this done. Please
help.

Thanks,
Utkarsh Tiwari


More information about the Sugar-devel mailing list