npm init -y
Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.
| # Decrypt password-protected PDF in Python. | |
| # cleaned-up version of http://stackoverflow.com/a/26537710/329263 | |
| # | |
| # Requirements: | |
| # pip install PyPDF2 | |
| # | |
| # Usage: decrypt_pdf('encrypted.pdf', 'decrypted.pdf', 'secret_password') | |
| import sys | |
| from PyPDF2 import PdfFileReader, PdfFileWriter |