debrief / ppt_renderer

Development project to produce body of scripts for manipulating PPT slide
Eclipse Public License 2.0
2 stars 0 forks source link

Unpack/pack #6

Closed purvil12c closed 6 years ago

purvil12c commented 6 years ago

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

IanMayo commented 6 years ago

Aah, one last change, please. Could you separate it into two scripts? That should let us work more quickly.

Thanks.

purvil12c commented 6 years ago

Sure, we can separate it out into two scripts.

IanMayo commented 6 years ago

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.

purvil12c commented 6 years ago

Yes. Working on it.

IanMayo commented 6 years ago

and another thing

I was going to make this a future step, but could you include also commit the unpacked folder?

purvil12c commented 6 years ago

Sure - will include the unpacked folder.