On Wed, Nov 21, 2018 at 2:57 AM Jose Luis Hernandez Riesgo
<mac1999@xxxxxxxxx> wrote:
i Found some documentation about PyPDF2
utility library and i'll try use it.

Did you check out the link Kevin already provided for a sample script?
Presumably he is using that script himself already. Or at least that
seems to be what he used for his test, which he said was successful.

Repeated here:
Create a file with the source on this page.
http://gauravvichare.com/how-to-password-protect-pdf-file-using-python/

Then something like this works in QSH.
python3 /kevin/python/encryptpdf.py -i
/kevin/QPQXPRTF__MN207B_KEVIN_329738_1_20181116.pdf -p kevin

Note that I have not tried this myself. I just wanted to make sure
that people are not rewriting things from scratch if they don't have
to.

John Y.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.