See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # Open the debug console with Ctrl+: (which is Ctrl+Shift+; on US keyboards) | |
| # (Don't have the browser window open when you do.) | |
| # Run it with Ctrl+Enter | |
| # Remove the # from the last line to actually save the changes | |
| s = r'regular expression to search for goes here' | |
| srcField = 'Source Field Name goes here' | |
| tgtField = 'Target Field Name goes here' | |
| noteType = 'Name of the Note Type goes here' |
| #!/usr/bin/env python3 | |
| """ | |
| To use: | |
| 1. install/set-up the google cloud api and dependencies listed on https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/texttospeech/cloud-client | |
| 2. install pandoc and pypandoc, also tqdm | |
| 3. create and download a service_account.json ("Service account key") from https://console.cloud.google.com/apis/credentials | |
| 4. run GOOGLE_APPLICATION_CREDENTIALS=service_account.json python make_audiobook.py book_name.epub | |
| """ | |
| import re | |
| import sys |