psobot / keynote-parser

A packer/unpacker for Apple Keynote presentation files.
158 stars 17 forks source link

Not understanding usage #50

Closed DedrichVonDorn closed 1 year ago

DedrichVonDorn commented 1 year ago

Can someone please post a code example for python that unpacks and packs files please?

The syntax in usage does not work in Mac terminal nor in Python, saying it doesn't find "unpack".

for example `import keynote_parser

file_path = 'keynote_template.key'

keynote_parser.unpack_command(file_path)`

says it has no attribute unpack_command() -- which I saw in the command line py file. If I try just unpack, it doesn't have that attribute.

In mac terminal, if I type in keynote-parser unpack file.key, I get an error with unpack as well. A for-dummies code example would be very helpful. Thank you.

DedrichVonDorn commented 1 year ago

Figured out command line needs to be bin/bash not zsh!