Closed purvil12c closed 6 years ago
Aah, one last change, please. Could you separate it into two scripts? That should let us work more quickly.
Thanks.
Sure, we can separate it out into two scripts.
Ok, playing with it.
Could you change it so that if the output parameter isn't provided, it names the output folder using the filename (minus the .pptx).
Similarly, on packing, could you make it so that if the output filename isn't provided then the output filename is the folder name plus .pptx.
Hmm, actually these seem like valid defaults. So, pack will take a folder name, plus optional output filename. And unpack will take a filename, plus an optional folder.
Yes. Working on it.
and another thing
I was going to make this a future step, but could you include also commit the unpacked folder?
Sure - will include the unpacked folder.
Fixes #1
To run the script - Unpack: python pack_unpack.py 1 Desktop/sample.pptx Desktop/unpack Pack: python pack_unpack.py 2 Desktop/sample.pptx Desktop/unpack
Run Help - python pack_unpack.py -h