This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bananaappletw
Recipients DemoHT, bananaappletw, berker.peksag, docs@python, ezio.melotti, hynek, martin.panter, r.david.murray, rixx, serhiy.storchaka, tarek
Date 2018-05-30.03:50:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527652259.43.0.682650639539.issue22021@psf.upfronthosting.co.za>
In-reply-to
Content
I think this snippet might help you.

shutil.make_archive(base_name='/tmp/issue22021archive', format='zip', root_dir='/tmp/issue22021/root/', base_dir='structure/content/')

unzip -l /tmp/issue22021archive.zip

Archive:  /tmp/issue22021archive.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  2018-05-30 11:14   structure/content/
        0  2018-05-30 11:02   structure/content/please_add.txt
---------                     -------
        0                     2 files
History
Date User Action Args
2018-05-30 03:50:59bananaappletwsetrecipients: + bananaappletw, tarek, ezio.melotti, r.david.murray, docs@python, berker.peksag, hynek, martin.panter, serhiy.storchaka, DemoHT, rixx
2018-05-30 03:50:59bananaappletwsetmessageid: <1527652259.43.0.682650639539.issue22021@psf.upfronthosting.co.za>
2018-05-30 03:50:59bananaappletwlinkissue22021 messages
2018-05-30 03:50:59bananaappletwcreate